- 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 - base64 decode [2016/09/14 18:19] |
expression function - base64 decode [2016/09/14 18:19] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== BASE64_DECODE (Expression Function) ====== | ||
+ | ===== Purpose ===== | ||
+ | The **Base64 Decode** function (BASE64_DECODE) takes the input of a field value and decodes it using base64. This encoding is designed to make binary data survive transport through transport layers that are not 8-bit clean, such as mail bodies. Base64 encoded data takes about 33% more space than the original data. This function is most commonly used when communicating with a third party system that send values that are base64 encoded. | ||
+ | |||
+ | {{::base64_decode_initial.png?direct&600|}} | ||
+ | ===== Parameters ===== | ||
+ | The **Base64 Decode** 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 **Base64 Decode** function is a decoded string comprised of the value from a field that contains a base64 encoded value. | ||
+ | |||
+ | ===== Example ===== | ||
+ | |||
+ | BASE64_DECODE("V29ya1hwcmVzcw==") returns WorkXpress |