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.
Hi!
I want to use the Blog util in version 4.62 but the code below throws an exception when new PostedEntry(xf.Form.CreateFormData()); is executed. When I inspect xf.Form the Document property is set to null. How to fix this?
EPiServer.Core.PropertyXForm xf = (EPiServer.Core.PropertyXForm)CurrentPage.Property[BlogUtil.BlogPostFormPropertyName];
BlogPostEntry = new PostedEntry(xf.Form.CreateFormData());
/Martin