HttpURL (NotesView - JavaScript)

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

Defined in

NotesView

Syntax

getHttpURL() : string

Usage

If HTTP protocols are not available, this property returns an empty string. See NotesURL.

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