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

Unable to set PropertyXForm in Dynamic Content

Vote:
 

Trying to build an XForm dynamic content but I'm unable to save the PropertyXForm value when i edit the dynamic content. I'm able to select a form to use and press save but if I edit the dynamic content again i can see that nothing has been saved. Something I also noticed is that the textbox which displays the form name which usually i disabled is now enabled.

I tried adding another propery of type PropertyString to see if there were some general error but I'm able to save that property value without problem.

 

This is how my dynamic property class looks like

    [DynamicContentPlugIn(DisplayName = "XForms", ViewUrl = "~/Views/Shared/XForm.cshtml")]
    public class XForms : DynamicContentBase
    {
        public XForms()
        {
            Properties = new PropertyDataCollection
                             {
                                 { "XFormControl", new PropertyXForm() },
                                 { "teststring", new PropertyString() }
                             };
        }
        
    }

 

This is how the dynamic content edit control looks like: http://s11.postimg.org/o3mts19mr/xform_dc.png

#75864
Oct 09, 2013 11:12
Vote:
 

I have the same issue.

#76447
Oct 24, 2013 15:48
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.