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
Is there a way of getting a node GUID from the nodes ID?
Node myNode= new Node(1234);
Doesn't expose the nodes GUID. I can see everything else about the node but I can't see the GUID.
"Node" is long obsolete, it was replaced by IPublishedContent. Please use the UmbracoHelper with the TypedContent method. Documentation can be found at https://our.umbraco.org/Documentation/Reference/Querying/UmbracoHelper/#typedcontent-int-id
You can then get the Guid from the GetKey() method. e.g.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted