urlwithparameters() Function

Function

urlwithparameters( parameterNames, parameterValues )

This function allows you to build a URL from an expression, using arrays of process and constant data.

Parameters

Keyword Type Description

parameterNames

Text Array

The parameters to append to the URL.

parameterValues

Text Array

The parameter values corresponding to the parameter names to append to the URL.

Returns

Textpath (Text)

Usage considerations

Only arrays are accepted for the 2nd and 3rd parameters.

Arrays must be enclosed in curly brackets {}.

Parameter names are encoded to form a valid URL. For example, spaces are replaced with "%20".

The return value is a fully qualified or relative URL path that is not encoded or validated.

Examples

You can copy and paste these examples into the Expression Rule Designer to see how this works.

"<a href=" & urlwithparameters("/tio/viewPayments.do", {"claimNumber"}, {pv!claimNumber}) & ">View Payments</a>" returns View Payments

Open in Github Built: Tue, May 23, 2023 (06:12:33 PM)

On This Page

FEEDBACK