Help in adding link in field message
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2020 02:17 AM
Hi Community,
Need help in adding a link in field message ?when user clicks on it, it should point to new window.
Thanks,
Pihu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2020 02:49 AM
Field messages don't support HTML, you can do it on form info message if that works for you
Something like
g_form.addInfoMessage("Please <a href = '/incident_list.do' target='_blank'>Click</a>");
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2020 02:56 AM
Thanks Anurag it worked by using addInfoMessage.
But can we do it from the below link.
https://community.servicenow.com/community?id=community_question&sys_id=c76c47a5db9cdbc01dcaf3231f961934
Thanks,
Pihu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2020 02:59 AM
That is an unaswered Question , and if you see Mile Allen's reply there. he also said the same.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2020 02:58 AM
You using it in business then it should be gs.addInfoMessage() & not g_form.showFieldMessage()
So, last line becomes
gs.addInfoMessage(message);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2020 03:04 AM
No ,I am not using in BR I have used in client script