The creatorID does not appear to be something I have in the field list at all in the insert field dialog, and the writerID does not return any value either.
Anyone know why this is, or what I am doing wrong?
If you want to feed the macro with an Umbraco value you should use the @ sign in front of it instead of #, which returns the value of the properites you have defined on the document type yourself.
So if I have understood correctly you should be able to fetch the writerID by writing @writerID - creatorID is not an Umbraco value so I suppose this is something you have created yourself? If so it should be returned to the macro using #creatorID I guess...
creatorID does not return value in template field
Hello,
I need the creatorID for some macro logic. My template code looks like this:
<umbraco:Macro divClass="applyNowLeft" job="[#jobPosition]" creatorID="[#creatorID]" Alias="GetSubmitResumeLink" runat="server"></umbraco:Macro>
The creatorID does not appear to be something I have in the field list at all in the insert field dialog, and the writerID does not return any value either.
Anyone know why this is, or what I am doing wrong?
Thanks.
Hi Radmanm
If you want to feed the macro with an Umbraco value you should use the @ sign in front of it instead of #, which returns the value of the properites you have defined on the document type yourself.
So if I have understood correctly you should be able to fetch the writerID by writing @writerID - creatorID is not an Umbraco value so I suppose this is something you have created yourself? If so it should be returned to the macro using #creatorID I guess...
/Jan
That worked thanks Jan.
I'm happy to hear that :-)
If I remember correctly these are the options you have to feed the parameters
Hope this can help others in the future.
/Jan
is working on a reply...