Skip to main content

 

Planview Customer Success Center

UrlEncode Function

UrlEncode (text as String) as String

Category: Text
Description: Encodes text for use in URLs
Supported Context: FormulaField And BusinessRules
Parameters:  
text as String Text to encode
Returned value as String Returns encoded text for usage in URLs
Example #1

Create a custom action that opens URL with link to Google Maps

 <a href="https://maps.google.com/maps?saddr={UrlEncode(CurrentUser().HomeAddress)}&amp;hl=en" rel="external noopener nofollow" target="_blank" title="https://maps.google.com/maps?saddr={UrlEncode(CurrentUser().HomeAddress)}&amp;hl=en">https://maps.google.com/maps?saddr={...ddress)}&amp;hl=en</a>