Hot to get all the page names for different languages through the API?

Vote:
 
I so know this is gonna be easy, but I can't find an example of it in the SDK and poking around using the VS debugger didn't yield anything useful either... Could someone please tell me those simple magic lines of code that will, given a PageReference or PageData reference, extract all the page names and what language code each name is in please? Many thanks, Andy
#18825
Dec 05, 2006 17:05
Vote:
 
Hi Andy, Are you using EPiServer 4.60/4.61? The globalization support was rebuilt in this version of EPiServer. I found this in the SDK: (EPiServer 4.61 / Globalization / Samples) Get all Languages for a Page PageDataCollection pages = Global.EPDataFactory.GetLanguageBranches(pageLink); The rest should be like a walk in the park, I guess ;)
#19062
Dec 06, 2006 13:24
Vote:
 
Many thanks Matthias, that's exactly what I needed!
#19063
Dec 06, 2006 16:32
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.