Question

I 'm sending notification mails wherein client variable in a href URL breaks as it contains '&'.For e.g. clientname is tech & Design. When i call this variable it breaks at tech. How to resolve this?Is encoding a resolution and how do i do it?

        "<a href="mailto:xyz@abc.com?subject=ACTION REQUIRED: <$ClientName$> is in your workflow queue | PID: <$xProject_ID$> | DID:<$dID$> | Approve">"
Was it helpful?

Solution 2

regexReplaceAll function helped me resolve the issue. it replaces the matched value from variable. In my case &

Here it is < $regexReplaceAll(ClientName,"&","")$>

< a href="mailto:xyz@abc.com?subject=ACTION REQUIRED: < $regexReplaceAll(ClientName,"&","")$> is in your workflow queue | PID: < $xProject_ID$> | DID:< $dID$> | Approve">"

OTHER TIPS

Use <$xml(ClientName)$> instead of <$ClientName$>

http://docs.oracle.com/cd/E14571_01/doc.1111/e10726/c08_config_ref346.htm

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top