Quantcast
Channel: Optimizely Search & Navigation
Viewing all articles
Browse latest Browse all 6894

Rendering blocks with ContentReference issue

$
0
0

I am trying out episerver forms and have a page where I want a single form to be inserted, so I added ContentReference property and limited it to FormContainerBlock types. Now, when I render this to the page, I load the block from the content reference and use the Html.DisplayFor method to output it to the page. The first thing I noticed is that there is no way to get to the form to edit it from the page that uses it. The default edit experience for that property shows the default tree navigator to select the block, but there is no way to navigate to the actual form that is referenced to edit it. What I would like to know is there a way to change that experience so users can get a link or an edit menu similar to how content areas work, but for a single ContentReference? I would be annoying for editors to have to click the ... button to open the tree navigator, then have to find that form in the assets pane in a second step.


Viewing all articles
Browse latest Browse all 6894

Trending Articles