Encode URI Component Activity

Description

Encodes a text string as a valid component of a Uniform Resource Identifier (URI).

Usage

Certain characters are not permitted in URL query string parameter values and need to be encoded/escaped. For example, the value "abc def" must be encoded as "abc%20def". Use this activity to encode parameter values that are then used to assemble a URL used by the Send Web Request activity.

Offline Support

This activity works when the device is offline.

Inputs

Value

Required

Type: String

The value to encode.

Outputs

result

Type: String

The encoded value.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, Web AppBuilder for ArcGIS 2.4.

See Also...

Decode URI Component

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent

© 2019 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.10