Try our conversational search powered by Generative AI!

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

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
Dec 05, 2006 17:05
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 ;)
Dec 06, 2006 13:24
Many thanks Matthias, that's exactly what I needed!
Dec 06, 2006 16:32
This thread is locked and should be used for reference only.
* 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.