Last modified on 30 July 2006, at 09:09

Umbraco/Reference/umbraco.library/NiceUrl

Umbraco.library.NiceUrlEdit

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);