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...
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
is working on a reply...