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 have create a custom datatype with c# and I can get a lot of properties of the current node.
But how I get the url of current node?
Sören
Using umbraco.library.NiceUrl(nodeId). But this will only work if the node has been published (else it doesn't have a url).
Thank you, it's very easy :-)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
How I get current node url in custom datatype?
I have create a custom datatype with c# and I can get a lot of properties of the current node.
But how I get the url of current node?
Sören
Using umbraco.library.NiceUrl(nodeId). But this will only work if the node has been published (else it doesn't have a url).
Thank you, it's very easy :-)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.