how to display URL link from message
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2018 06:54 AM
Hi,
i have used below script , it is not displaying URL link in messge
g_form.showFieldMsg("testing" + "<a href='" + 'https://www.doc.servicenow.com '+ "'>" + "</a>" + " has been created");
22 REPLIES 22
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2018 11:18 AM
Try this way, the HTML doesn't seem quite right to me.
var link = '<a href="https://www.doc.servicenow.com">Link to site</a>';
var message = "<p>Testing "+link+" has been created!</p>";
gs.addInfoMessage(message);
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2018 11:34 AM
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2018 12:05 PM