Copied to clipboard

Flag this post as spam?

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


  • Ben Tice 31 posts 131 karma points
    Jul 19, 2014 @ 16:11
    Ben Tice
    0

    Get Macro Parameter Values with Macro ID?

    Hi,

    Is it possible to get parameter values for a macro using the macro id?

    I'm passing the current macro id to a surfacecontroller using a hidden field. In my surface controller, I'd like to use the id to retrieve the macro parameters.

    I've tried using this to retrieve the macro:
    Macro m = umbraco.cms.businesslogic.macro.Macro.GetById(id);

    Unfortunately I only get the parameter without values set...

    Thanks,
    Ben

Please Sign in or register to post replies

Write your reply to:

Draft