Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Ok! Found my way out by setting property "PageLanguageBranch" to the current language key. Example:
Service.RawPage newlyRawPage = ws.CreateLanguageBranch(newlyCreatedPage, lang, Service.AccessLevel.NoAccess);
SetPropertyValue(newlyRawPage, "PageLanguageBranch", "sv");
...
//Örjan
Anyone knows how to add a specific language through PageStoreService Webservice (CMS 5).
http://localhost/WebServices/PageStoreService.asmx
When I create a new page I add the LanguageSelector:
Service.LanguageSelector lang = new EPiMigration.LanguageSelector();
After I have created the new page I can get hold of the newly created pageref. But when Im trying to create lang. branch I can't figure out how to set the language:
Service.RawPage newlyRawPage = ws.CreateLanguageBranch(newlyCreatedPage, lang, Service.AccessLevel.NoAccess);
Some of the properties has language unique values.
Any idea?
//Örjan