getURL (NotesDocument - JavaScript)

Gets the Domino® URL for the document.

Defined in

NotesDocument

Syntax

getURL() : string
Return value Description
string The Domino® URL for the document.

Examples

This computed field displays the URL to open the current document.
var doc:NotesDocument = currentDocument.getDocument();
return "The URL to open this document is " + doc.getURL()