getURL (NotesView - JavaScript)

Gets the Domino® URL for the view.

Defined in

NotesView

Syntax

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

Examples

This computed field resolves the URL for a view and accesses the view. The URL returned by getURL is effectively the same as the URL built from the database replica ID and the view universal ID.
var theURL = view1.getURL();
//var theURL = "notes:///" + database.getReplicaID() + "/" + view1.getUniversalID() + "?OpenView";
var v:NotesView = session.resolve(theURL);
return v.getName()