Using hyperlink within pop up message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2015 06:14 PM
I have a script I created as part of a workflow. I have a pop up message that appears as part of my workflow script that re-directs user to an internal URL. My issue is this: I want to have the user be able to click on the URL from within the pop up box and also close the existing form. Here is what I have so far:
var msg = '[http://groupcentral.vrtx.com]'
gs.addInfoMessage('<script>var t=setTimeout(function(){alert("' + msg + '")},500);</script>' + msg);
The pop up appears like this but want to be able to click on URL and go to the URL....is this possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2015 06:48 PM
Hi Kevin, indeed it's possible.
It can be done by adding the link in a UI page and then invoking the UI Page from GlideDialogWindow.
The following should be helpful:
GlideDialogWindow: Advanced Popups Using UI Pages - ServiceNow Guru
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2015 11:46 PM
Hi Kevin, do you have any further questions or do you believe you can close this thread by marking the response as correct?
Thanks,
Berny