Copied to clipboard

Flag this post as spam?

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


  • Iain Waddell 15 posts 125 karma points
    May 26, 2020 @ 12:08
    Iain Waddell
    0

    Macro added to RTE is only called within Back Office, how do I get the macro to render in the member's area?

    I've written a macro that uses a surface controller to retrieve a response from one of our APIs (e.g. the number of reward points the panellist has).

    When I place the macro in a grid, the macro renders the correct number of reward points for each panellist.

    If I place the macro in an RTE, the macro is rendered using data when the macro is run in back office. The macro inside the RTE is never executed outside of back office :(

    I've set a breakpoint on the surface controller and it's never called when the page with the RTE with macro is rendered but it's always called when the page with the grid with macro is rendered.

    Is there a setting I'm missing that will force the macro in the RTE to be executed?

Please Sign in or register to post replies

Write your reply to:

Draft