Use the encodeURI helper to convert special characters in a string into their URI-encoded representations. This ensures that spaces, punctuation, and other symbols are properly encoded for safe transmission in URLs.
{{{encodeURI field}}}
-
field: The string or field you want to URI-encode (e.g.,
record.ordersor a literal like"sample data type").
Note
Note: Typically, you see triple braces ({{{ }}}) used with this helper, so you get the raw encoded text without additional formatting.
-
Encoding a record field
{{{encodeURI orders}}}If
ordersis"overseas order flow", the output is"overseas%20order%20flow". -
Encoding a literal string
{{encodeURI "sample data type"}}Produces
"sample%20data%20type".
Tip
-
Pair
encodeURIwithdecodeURIif you need to reverse the encoding later. -
Using triple braces (
{{{ }}}) returns the encoded string exactly, without Celigo’s automatic formatting. -
Characters such as
, / ? : @ & = + $ #and spaces become percent-encoded, making them safe for use in URLs.