report redirect URL substitute the & to &

utente
Giga Expert

Hi all,

I have a problem with the URL redirect link functionality.

when I specify a link, all the & writed into the link will be converten to &amp
So the link that the system will generate not work...

Can some have a solution to this problem ?

 

Best Regards

Vincenzo

6 REPLIES 6

Michal Gawlows1
Mega Expert

Anyone managed to find solution to this problem ? This still occurs in New York

tonvanoostveen
Tera Contributor

Ok maybe this is just a hack, but this worked for me on Orlando for a Report redirect URL.

De trick is to use "nav_to.do" and using UTF-8 encoding for & and =

 

What I needed was this URL, but this did not work because & got translated to &amp:

/csm?id=csm_cases&table=sn_customerservice_case

To make this work I hacked this to:

/nav_to.do?uri=/csm?id=csm_cases%26table%3Dsn_customerservice_case

Later I found a nice blog on this "nav_to.do", here:

https://community.servicenow.com/community?id=community_blog&sys_id=710daaa5dbd0dbc01dcaf3231f9619e8

More on UTF-8 encoding:

https://www.degraeve.com/reference/urlencoding.php