Replace \${sysapproval.URI_REF} with the word "here"

Sharee1
Kilo Contributor

Using
[Click ${sysapproval.URI_REF} to launch Service-now and go directly to this Request for Change.] results in the sentence:
[Click CHGxxxxxxx to launch Service-now and go directly to this Request for Change.] where CHGxxxxxxx is the Change Request number.
My client wants to see:
[Click here to launch Service-now and go directly to this Request for Change.]

I've used http://community.service-now.com/node/1000073 to change the URI "Link" to "here" but am unsure how to modify it for this requirement.

Any help would be greatly appreciated.

2 REPLIES 2

Jim Coyne
Kilo Patron

Try:


<mail_script>
template.print('Click <a href="' + gs.getProperty("glide.servlet.uri") + 'nav_to.do?uri=' + gs.generateURL('change_request', current.sysapproval) + '%26sysparm_stack=change_request_list.do">here</a> to launch Service-now and go directly to this Request for Change');
</mail_script>


That works beautifully. Thank you!!