UniversalID (NotesView - JavaScript)

Read-only. The universal ID of a view, which is a 32-character hexadecimal value that uniquely identifies a view across all replicas of a database.

Defined in

NotesView

Syntax

getUniversalID() : string

Usage

A typical universal ID looks like this: FF864D9ACB6E2210752561BC005867C6.

Examples

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