getOpenPageURL (NotesXspViewEntry - JavaScript)

Gets a URL to open a page in the current context.

Defined in

NotesXspViewEntry (JavaScript)

Syntax

getOpenPageURL(pageName:string, readOnly:boolean) : string
Parameter Description
pageName:string The name of the page. If null, defaults to the name of the current page.
readOnly:boolean true to open the page read-only; false otherwise.
Return value Description
string The URL.

Examples

This onclick script for a Button control is embedded in a Data Table control with a Domino® view data source whose collection name is rowdata. The script opens a document in read mode.
context.redirectToPage(rowdata.getOpenPageURL("documentread", true))