- Introduction to WorkXpress
- Building Your Application
- Examples and Best Practices
- Technical Manual
This shows you the differences between two versions of the page.
expression function - url encode [2016/09/14 18:19] |
expression function - url encode [2016/09/14 18:19] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== URL_ENCODE (Expression Function) ====== | ||
+ | ===== Purpose ===== | ||
+ | The **URL Encode** function (URL_ENCODE) takes the input of a field value and encodes it using RFC 3986. This function is most commonly used when communicating with a third party system that receives values that are url encoded. | ||
+ | |||
+ | {{::url_encode_initial.png?direct&600|}} | ||
+ | ===== Parameters ===== | ||
+ | The **URL Encode** function has one input parameter: | ||
+ | |||
+ | ==== Field Value ==== | ||
+ | |||
+ | Allowed Inputs: [[Field|field]] value | ||
+ | |||
+ | The builder can enter one field value. The builder should use the [[Query Builder]] to choose a field that contains a value. | ||
+ | |||
+ | ===== Output ===== | ||
+ | |||
+ | The output of the **URL Encode** function is a string in which all non-alphanumeric characters except -_.~ have been replaced with a percent (%) sign followed by two hex digits. | ||
+ | |||
+ | ===== Example ===== | ||
+ | |||
+ | URL_ENCODE("This & That") returns This%20%26%20That |