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 everyone i am a newbie in umbraco. I want to ask how can we get id of a note if we already get it? Thank you so much.
Normally you would use .Id
for example CurrentPage.Id
or
Umbraco.AssignedContentItem.Id
Hope this helps.
Thank you so much Paul Seal. It works for me
Use uQuery:
UmbracoHelper helper = new UmbracoHelper(UmbracoContext.Current); var nodeId = uQuery.GetNodesByType("docTypeAlias") .Select(elm => helper.TypedContent(elm.Id));
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Get id of a node.
Hi everyone i am a newbie in umbraco. I want to ask how can we get id of a note if we already get it? Thank you so much.
Normally you would use .Id
for example CurrentPage.Id
or
Umbraco.AssignedContentItem.Id
Hope this helps.
Thank you so much Paul Seal. It works for me
Use uQuery:
is working on a reply...