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
I'd like to fill a hiddenfield with:
@umbraco.cms.businesslogic.member.Member.GetCurrentMember().Id
Is this possible? I can't find anything in the docs...
Frans
Hi Frans,
Have you tried to use the bracket { } syntax.
Member Id {member.id}
Hope this helps,
/Dennis
Oh wow... That was way to easy...
Is there a list of alle the properties I can get this way?
So it works like it should? If you go to Umbraco members and the document type for the member then you can see the alias of the properties.
And then all the generic properties.
If you add a new property to your member and give it the alias of custom, then it´s member.custom
Thanks, this was way easyer than I thought.
It all works.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Fill hiddenfield Umbraco Forms CurrentMemberId
I'd like to fill a hiddenfield with:
@umbraco.cms.businesslogic.member.Member.GetCurrentMember().Id
Is this possible? I can't find anything in the docs...
Frans
Hi Frans,
Have you tried to use the bracket { } syntax.
Member Id {member.id}
Hope this helps,
/Dennis
Oh wow... That was way to easy...
Is there a list of alle the properties I can get this way?
Hi Frans,
So it works like it should? If you go to Umbraco members and the document type for the member then you can see the alias of the properties.
And then all the generic properties.
If you add a new property to your member and give it the alias of custom, then it´s member.custom
/Dennis
Thanks, this was way easyer than I thought.
It all works.
is working on a reply...