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
Are user created document properties the only values which can be passed to macros through parameters? What if I wanted to pass Model.Id or Model.Name? I've tried this using the {#} syntax and it doesn't work.
maybe this will help http://our.umbraco.org/wiki/reference/templates/umbracomacro-element/macro-parameters/advanced-macro-parameter-syntax
and this http://our.umbraco.org/wiki/reference/templates/umbracomacro-element
as you can see you need to pass the id as the following line
<umbraco:Macro Alias="YourMacroAlias" runat="server" YourPropertyName="[#pageID]"></umbraco:Macro>
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Dynamic Macro Parameters
Are user created document properties the only values which can be passed to macros through parameters? What if I wanted to pass Model.Id or Model.Name? I've tried this using the {#} syntax and it doesn't work.
maybe this will help http://our.umbraco.org/wiki/reference/templates/umbracomacro-element/macro-parameters/advanced-macro-parameter-syntax
and this http://our.umbraco.org/wiki/reference/templates/umbracomacro-element
as you can see you need to pass the id as the following line
is working on a reply...