- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2020 05:14 PM
Hello All,
We are working on surveys, redirected a survey email link to service portal. We are not displaying survey widgets on the portal. The requirement is, when the user clicks on the survey email link it should redirect him to the respective survey meaning it may be be incident or request survey.
How can we get the dynamic link in the email scripts?
Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2020 07:21 AM
Use something like below:
var link = gs.getProperty('glide.servlet.uri') + 'sp?id=take_survey&instance_id=' + current.sys_id;
Please mark my response as correct and helpful if it helped solved your question.
-Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2020 05:31 PM
Navigate to "Assessment properties" - > uncheck the first checkbox ("Allow Survey link from email to open Service portal view ") . Save this . Now trigger the survey again . It should send survey link that will open in platform view .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2020 06:10 PM
We want to open the link in portal only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2020 05:33 PM
It is in the Survey> Administration>Properties
Please mark my response as correct and helpful if it helped solved your question.
-Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2020 06:12 PM
We already enabled the property.
All we need is building the URL to open the survey.