I have a user macro in which I am generating a URL from a parameter and thus need to encode the value. I have tried the following, trying to use EscapeTool:
$esc.url($paramText)
However, when the macro is rendered it is still showing as "$esc.url($paramText)".
I have tried all of the options for "macro body processing" and no luck. Any suggestions would be appreciated. Thank you!
$generalUtil.urlEncode($paramText) should work :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.