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
EPiServer.Core.PageData newPage = Global.EPDataFactory.GetDefaultPageData(myParentPage, myPageTypeName); PropertyData pageProp; for (int i = 0; i < myProperties.Count; i++) { pageProp = (PropertyData) myProperties[i]; if (newPage.Property.Exists (pageProp.Name)) { newPage.Property[pageProp.Name].Value = pageProp.Value; } } newPage.LanguageID = "SE"; EPiServer.Global.EPDataFactory.Save (newPage, EPiServer.DataAccess.SaveAction.Save)
I'm using multilanguage and when I save the I get three versions of it one in common, one in swedish and one in english. It works when there are no language properties on the page. Is it a bug or have I made something wrong? help please regs //Stefan