Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

IsLanguageBranchCreated missing, but not in documentation!

Vote:
 
According to the documentation, the PageData class has a little nice method: IsLanguageBranchCreated. However, the method is totally absent in the dll (at least public and non-obfuscated). The same is true for ChangeLanguageBranch, GetLanguageBranch, and GetLanguageBranches. How can I achieve the functionality provided by these functions? Where are they and if they don't exist, why are they there in the documentation. Oh yeah, and the EPiServer dll: 4.61.083, and the help file: 4.61 Any ideas??
#17653
May 30, 2007 17:10
Vote:
 
I have the same problem/question. Did you ever get an answer?
#18488
Sep 14, 2007 13:59
Vote:
 
Hi This is an error in the SDK. These methods do not excist. You can however access a PageDataCollection containing all the available language branches for a given page via Global.EPDataFactory.GetLanguageBranches(pagereference). The quickest way to create a link to the same page in a different language would be using the PageData.StaticLinkURL and adding &epslanguage=language_code.
#18489
Sep 18, 2007 15:06
* 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.