NotesURL (NotesView - JavaScript)

Read-only. The Domino® URL of a view when Notes® protocols are in effect.

Defined in

NotesView

Syntax

getNotesURL() : string

Usage

If Notes® protocols are not available, this property returns an empty string. See HttpURL.

See resolve in NotesSession for additional information and examples.

Examples

This computed field displays the URL for a view associated with the page. The HTTP URL is displayed if available; otherwise, the Notes® URL is displayed.
return view1.getHttpURL() == "" ? view1.getNotesURL() : view1.getHttpURL()