Using URI+ to force a view when following link in email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-27-2015 10:16 AM
According to Scripting for Email Notifications if you put ${URI+&sysparm_view=ess} you can force the ess view of the form to the record the user clicks.
I definitely have an ess view for the form the record uses, but that link keeps going to default view.
Is this a valid feature in Eureka?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2015 08:55 PM
Create a new email notification script and use the below 2 lines in that. What I am doing here is setting the General view for the incident, when the user clicks the link in the email he receives.
var url = gs.getProperty("glide.servlet.uri") + 'nav_to.do?uri=incident.do?sys_id='+current.sys_id+'%26sysparm_view=general'; //Here the General view is used
template.print('<a href="' + url + '">' + current.number.getDisplayValue() + '</a>');
Give the script a name and then go to the notification and include ${mail_script:name of the notification script} in the place where you want to use.
This will definitely work as I use this in my instance. let me know for any issues.