@EncodeUrl (JavaScript)

Adds any necessary attributes to a Domino® URL, such as a session identifier or parameters.

Defined in

@Functions (Extension Library)

Syntax

@EncodeUrl(url:string) : string
Table 1. Parameters
Parameter Description
url:string A Domino® URL.
Table 2. Return value
Attribute Description
string URL with necessary attributes.

Examples

This computed field returns the encoded absolute URL for the current database.
return @EncodeUrl(@AbsoluteUrl(database.getFileName()))