Link to service portal page from email notification

ritaaudi
Tera Contributor

Hi:

Currently in cms, I have the following script which links to the project form in ess:

template.print('<p>You may click <a href="https://' + gs.getProperty('instance_name')

+ '.service-now.com/tech/tech_project.do?uri=pm_project.do?sys_id=' + current.sys_id

      + '%26sysparm_view=ess">' + current.number + '</a>' + ' to track, view, or update the project.</p>');

What would be the equivalent to that in the service portal? Anyone know?

Thank you!

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee
4 REPLIES 4

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hello Rita,



Please refer.


Portal hyperlinks via email


It worked beautifully. I just had to change the 'ticket' to 'form'. Thank you!


Johan12
Kilo Contributor

Hey.

 

Or you might as well just use a simple <a href=" using the following:

https://<servicenow-instance>/sp?sys_id=${sys_id}&view=sp&id=ticket&table=incident

 

Works like a charm and you don´t mess up your nicely designed notification email with an ugly blue box. 😉

really good solution, worked perfect well!!