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 just created a SurfaceController and on its view I called
@Umbraco.RenderMacro("MacroName")
I get this error:
InvalidOperationException: Cannot render a macro when there is no current PublishedContentRequest
I don't understand why a Macro would depend on a current page? Is there any way around this?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Render a Macro from a SurfaceController View
I just created a SurfaceController and on its view I called
I get this error:
I don't understand why a Macro would depend on a current page? Is there any way around this?
is working on a reply...