This project is read-only.

Using Dynamic Forms to create a BlogPost with Tags part

Topics: Customizing Orchard
Sep 30, 2015 at 1:23 AM

I would like to enable external site users to create BlogPost content items. I have also added the Tags part to the BlogPost content definition.

Is it possible to use the DynamicForms feature to create the form to populate the BlogPost, including the Tags part? I can easily use the DynamicForms to create a form with two fields which bind to the Title and Body parts, but I'm not finding a way to create a form field that functions like the Tags text field in other views, including the tag auto-complete logic.


Sep 30, 2015 at 12:48 PM
You'll need two create things:
  1. A Binding for the TagsPart.
  2. A custom field element called Tags to support autocomplete.
I might take this as a basis for a demo on Harvest next week. Thanks for that. :)
Oct 23, 2015 at 12:12 AM
Thanks for the tip. Ultimately I decided to use standard MVC approach to enable more fine-grained control over the form functionality.