FORMULA LANGUAGE


@WebDbName
Example

Returns the name of the current database encoded for URL inclusion.

Note This @function is new with Release 6.

Syntax

@WebDbName

Return value

databaseName


Usage

The return value can be placed as is in a URL command.

URL encoding changes most special characters to the text %xx where xx is a hexadecimal number representing the value of the character. In particular, spaces are changed to %20.

A backslash (\) is changed to a forward slash (/) rather than encoded. Double backslashes (\\) are removed. Dashes (-) are passed through as is.

The file extension starting with the period is not encoded.

This function is most effective when used in Web applications. When executed from the Notes client, with @URLOpen, for example, specify the host name before this function or the URL command will not execute properly:


Language cross-reference

GetURLHeaderInfo method of LotusScript NotesDatabase class

getURLHeaderInfo method of Java Database class

Example