November Happy Hour will be moved to Thursday December 5th.

XForms Blog problem

Vote:
 

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

#34399
Nov 05, 2009 16:19
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.