FORMULA LANGUAGE


@URLOpen
Example

Retrieves a World Wide Web page specified by its URL.

Syntax

@URLOpen

@URLOpen( urlstring )

@URLOpen( urlstring ; [ reloadflag ] )

@URLOpen( urlstring ; [URLLIST] )

@URLOpen( urlstring ; [ reloadflag ]:[URLLIST] )

@URLOpen( urlstring ; [ reloadflag ]:[URLLIST] ; charset )

@URLOpen( urlstring ; [ reloadflag ]:[URLLIST] ; charset; webusername )

@URLOpen( urlstring ; [ reloadflag ]:[URLLIST] ; charset ; webusername; webpassword )

@URLOpen( urlstring ; [ reloadflag ]:[URLLIST] ; charset ; webusername ; webpassword ; proxywebusername )

@URLOpen( urlstring ; [ reloadflag ]:[URLLIST] ; charset ; webusername ; webpassword ; proxywebusername ; proxywebpassword )

Parameters

urlstring


[ reloadflag ]
[URLLIST]
[RELOAD] : [URLLIST]
charset
webusername
webpassword
proxywebusername
proxywebpassword
Usage

The @URLOpen function works from both the Notes/Domino workstation and server.

The user name and password parameters work only with the Notes Web Navigator. Other browsers always prompt for authentication.

For use on the server, you need to specify at least one parameter with the function; using the function without any parameters will attempt to display the URL Open dialog box which cannot be done from the server. If you want to use any of the parameters that follow the Reload and URLList keywords without specifying values for either of the keywords, enter a zero (0) in place of the keyword value(s). For example, @URLOpen("http://www.ibm.com";0;"myusername";"mypassword").

When a Notes browser triggers the @URLOpen function, it displays the retrieved Web page in a new window. When the @URLOpen function is used on a form or page that is accessed by a non-Notes browser, Domino generates a javascript window.open command with the following syntax:

window.open( [sURL] [, sName] [, sFeatures] [, bReplace])

To display the retrieved Web page in a new window, pass the values for sName and sFeatures (if desired) as comma-separated arguments within the urlstring. For example, @URLOpen("http://www.ibm.com','NEW"). Be sure to use double quotes at the beginning and end of the urlstring parameter, and single quotes before and after each comma separating the arguments to be passed to window.open. Do not include any spaces.

To open another design element from the current Notes database in a Web application, use the @WebDbName function to properly encode the database name.

See Domino URL Commands for a list of the URL commands you can use to open design elements in a browser.

Language cross-reference

URLOpen method of LotusScript NotesUIWorkspace class

GetDocumentByURL method of LotusScript NotesDatabase class

getDocumentByURL method of Java Database class

Example
See Also