Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Get all published language variants of a page

$
0
0

Hey all 

How do i get only a list of published langauges for a page (langauges that are available to front end user). 

var xxxxx = currentPage as ILocalizable;

xxxxx.ExistingLanguages 

Seems to return me all langauges even language's the page has only been created in although not published. 

currentPage.ExistingLanguages.Select(x => x.Name); is the same. 

Thanks

Minesh 


Viewing all articles
Browse latest Browse all 6894

Trending Articles