StaticLinkURL and globalisation

Hi How can I get this code to work with other languages then the default language. PageReference pr = new PageReference(148); PageData pg = Global.EPDataFactory.GetPage(pr); link = pg.StaticLinkURL This code gives the default language for the page not the current language.
Mar 25, 2008 18:35
try some thing like this. PageReference pr = new PageReference(148); LanguageSelector ls = new LanguageSelector(LanguageContext.Current.CurrentLanguageBranch); PageData pg = Global.EPDataFactory.GetPage(pr, ls); string link = pg.StaticLinkURL; //Or if you dont really need det pageData, just the url string link = pp.DetermineAutomaticURL(LanguageContext.Current.CurrentLanguageBranch); Thomas Leela, Epinova
Mar 25, 2008 18:47
* 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.