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.

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.

Supported Environments

Environments capable of running this activity

Server

 

Client

Web

Mobile

Experience Builder

Web AppBuilder

Geocortex Viewer for HTML5

Levels of Support:      Full Support      Partial Support      No Support

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

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

See also...

Decode URI Component

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