Umbraco/Reference/umbraco.library/NiceUrl

From Wikibooks, open books for an open world
< Umbraco | Reference | umbraco.library
Jump to: navigation, search

[edit] 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);

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export