Hello,
I am wondering if there is a way to allow all paragraph item types to a page item type without declaring all the names within the ChildRule, using code first item types. Instead of ChildRule("ExampleParagraph") and listing all the names of the items.
[Item("Example")]
[Icon(Dynamicweb.Core.UI.Icons.KnownIcon.ThLarge)]
[AreaRule,
ModuleAttachmentRule(true),
StructureRule(StructureContextType.Pages),
ParentRule(ParentRestrictionRule.ParentType.RootOfWebsite, ParentRestrictionRule.ParentType.RegularPage), ChildRule("ExampleParagraph")
]
[PageDefaultView(Dynamicweb.Content.Items.Metadata.PageDefaultView.Paragraph)]
[Category("Pages")]
public class ExamplePage: ItemEntry
{