Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nadia 45 posts 122 karma points
    Apr 05, 2019 @ 00:18
    Nadia
    0

    RenderMacroText in Code

    Hey, I think I might be missing something obvious.

    But I need to send some content over a API, that has a Richtexteditor that Marco's are added to. Currently the API is just show the macro tag at the moment

    When we a display using on the Razor view, we use umbraco.library.RenderMacroContent

    But I can't seem to access RenderMacroContent out of the Razor?

    I could use UmbracoHelper.RenderMacro, but that would mean I have to parse the UMBRACO_MACRO tag to find the parameters, surely there is a easier way?

    Thanks

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies