search
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.
You would need to create a writeable clone for your content before you can change a property and save. Something like
var writeableClone = pageData.CreateWritableClone<PageData>();
//edit writeableClone
I'm fairly new to EpiServer so maybe this question has been answered before. I couldnt find any easily but here goes;
When my page is saved, I check certain fields and when a field is set, the page should be archived. I want to set StopPublishto a date in the past but when I excute the code in the page I get a validator error;
I don't get this, why was the property settable in C# in the first place? I don't have any custom validators regarding StopPublish