Reference > Expressions > Built-in Functions > System Functions > EncodeLink

EncodeLink

Encodes a text value to be used in a query part of a URL.

Some ASCII characters, such as commas and brackets, are considered to be unsafe inside an argument, so they need to be encoded. Non-ASCII characters must also be encoded. See http://en.wikipedia.org/wiki/Query_string for information about URL encoding. See URL Encoding Reference for a list of URL codes.

Syntax

EncodeLink(value)

Enabled for

Search/Dashboard No
Business Rules No
Quick Actions Yes
Workflow Objects Yes
Reports No

Parameters

value The text to encode.

Return Value

Text value.

Example

$(EncodeLink("http://www.frontrange.com/"))

The example above translates to "http%3a%2f%2fwww.frontrange.com%2f". You might encode the URL if you needed to pass this URL as an argument of another URL.