how to display URL link from message
- 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");

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2018 06:56 AM
use g_form.addinfomessage instead of FieldMsg
FieldMsg is for message you want to show under some field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2018 07:15 AM
Hi,
Using with g_form.addinfomessge it is dipslaying,
but here request is need to dispalay message URL under field , is it possible to display it

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2018 07:03 AM
Hi,
You can try something as below
link = '<a href='" + 'https://www.doc.servicenow.com '+ "'>" + "</a>';
message = gs.getMessage("Testing {1} has been created");
message = message.replace("{1}", link);
gs.addInfoMessage(message);
Thanks,
Jaspal Singh
Hit Helpful or Correct on the impact of response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-28-2018 07:13 AM
Hi Jaspal,
is it possible to display this message under field using with g_form.showFieldMsg