< Umbraco < Reference < umbraco.library
Umbraco.library.NiceUrl
Return a 'Friendly URL' for a given node in the Umbraco repository.
Parameters
NiceUrl(int NodeId);
Integer NodeId
Return value
The method returns a String with the url of the specified node.
Usage
// c# using umbraco.library; String myNiceUrl = NiceUrl(20);
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.