How to add the url in showFieldmsg method
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 04:01 AM
Hi,
How to add the link in this showFieldmsg() method -> showFieldmsg('field name', 'string', 'Info/error').
Please let me know how to add the link like if I click on link then it will redirect to another page.
Thanks,
Manju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 04:08 AM
Hi @manju12,
please check below link:
https://www.servicenow.com/community/developer-forum/can-we-add-url-in-showfieldmessage/m-p/1609067
Thank you, please make helpful if you accept the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 04:18 AM
Hi @manju12
You can create the variable with the type "Rich Text Label" and configure your message with a HTML link.The visibility can be controlled using UI policy or you can show url message using addInfoMessage.
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful."
Thanks!