The encodeUrl() function can be used to include a referenced value that may have spaces or special characters within a URL field.
Syntax
encodeUrl(value)
Argument | Description |
value(required) | An attribute, metric, or association. |
Where Available
Available in all places the expression or injected expression icon is visible, as well as within Filter fields on Cards, Tables and List/View sections.
Examples
Where | Example(s) |
Business rules: Set Value
Attribute expression |
"http://google.com/search?q=" & encodeUrl(Search_Field__c)
|
Embedded Section URL attribute
Business rules: URL Call External View URL on List/View |
https://www.yoursite.com/item?id={!encodeUrl(Item_ID__c)} |