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
Hi,
Does anybody know if Macro Parameters are supported for razor based macros in 4.7 beta?
If yes, how to read macro parameter in .cshtml razor script?
Thanks & Regards,Pinal Bhatt
Yup, see the other topic about this :-)
Thanks seb.
Following works fine
@{var param = @Parameter.nameOfParameter;}
or
@(Html.Raw(Parameter.nameOfParameter))
is working on a reply...
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.
Continue discussion
Macro Parammeters in Razor with 4.7 beta?
Hi,
Does anybody know if Macro Parameters are supported for razor based macros in 4.7 beta?
If yes, how to read macro parameter in .cshtml razor script?
Thanks & Regards,
Pinal Bhatt
Yup, see the other topic about this :-)
Thanks seb.
Following works fine
or
is working on a reply...
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.