A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn 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