Change text of \${URI} from LINK

Mike Malcangio
ServiceNow Employee
ServiceNow Employee

In our e-mail messages we would like to change the text of the URLs to something other than LINK when using ${URI} (for the technician's to link to their case, users their request in the app, etc.). Does anyone know of a way to do this?

We experimented with a mail script that looked this ...


var thisID = ${sys_id};
var thisHost = gs.getProperty('glide.proxy.host');
var hostParameters = "nav_to.do?uri=incident.do?sysparm_view=ess&sysparm_stack=incident_list.do&sysparm_query=active=true&sys_id=";
template.print("clicking here.");


Unfortunately, it worked for a spell and then quite working.

Any suggestions would be greatly appreciated for how to work around this one.

--Mike

1 ACCEPTED SOLUTION

Not applicable

Mike, try using:

var thisID = current.sys_id
instead of:

var thisID = ${sys_id};
I think that might do the job!


View solution in original post

11 REPLIES 11

Not applicable

I am very new to Service Now and we are trying to change the URL for "LINK", but I can't find where to change it. I've looked everywhere and can't find it. Looks like I might have to change the value for ${URI}, but I can't find where to do that.

Any help would be greatly appreciated.


manuelpanman
Giga Contributor

Works great.
Also with images.

You only have to use other quotes to make that work.