Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm developing a site that will allow editors to drop-in chunks of database driven content into rich-text editors. To that end, I've build child actions in a SurfaceController which builds the model and renders a partial view. In order to call this child action from a macro, I've created a rather silly partial view that simply calls @Html.Action(...).
Is there any way to skip this partial view and have the macro called the SurfaceController child action directly?
Not currently, there is a planned feature called "Child Action Macro" which would be what you are after. However as you will notice it is the only remaining task for Umbraco Mvc support and I understand that to actually complete the task would require a entire rewrite of the Macro engine and so it has been de prioritised for the foreseeable.
Keep going with the silly wrappers :-)
Thanks Jeavon. At least I know that I'm doing it "right". :)
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted