Adds a number of querystring key-value pairs to the given location url.

Syntax

Smartsite SXML CopyCode image Copy Code
locator url.addparameters(locator location, boolean mapUrlParams, string[ ] pairs)
locator url.addparameters(locator location, string[ ] pairs)

Parameters

Name Data Type Description
location Locator The location url.
mapUrlParams Boolean If set to true the given parameters are mapped to URL parameters in the given order.
pairs String[ ] The key-value pairs (syntax: name=value).

Return Value

Data Type Description
Locator The modified location.

Expand image Example

SXML