Try our conversational search powered by Generative AI!

EPiServer.Forms + AllowedTypes



when using the new EPiServer.Forms module how do you add it to the AllowedTypes attribute of a page type definition, the way you would with any other block type definition?

[AllowedTypes(typeof(SomeBlock), typeof(<>< EPiServer.Forms ? >>))]



Feb 12, 2016 11:37

If you want to allow forms in your ContentArea add the type FormContainerBlock

public virtual ContentArea FormArea { get; set; }


Feb 12, 2016 16:16
<p>Thanks Mark, works like a charm.</p> <p></p> <p>//Patrik</p>
Feb 15, 2016 13:38
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* 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.