- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2023 02:46 AM - edited 05-04-2023 05:05 AM
Hi all,
how can I add an hyperlink to this field message in blue, to the "problem" word.
Thanks 🙂
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2023 02:59 AM
As HTML is not supported in g_form field message, so not possible with field message approach
Instead of this you can create a UI macro and mention your html content in macro and calling it via UI formatter
If my answer solved your issue, please mark my answer as ✅ Correct & 👍Helpful based on the Impact.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2023 03:18 AM
Hi @cicgordy ,
Please refer this link:
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0691931
Hope this helps you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2023 03:26 AM
Hi @ArpitaVK I looked at this previously, this only adds a link to the message in the header, not as field message sadly
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2023 04:25 AM
Please use g_form.addInfoMessage() and it supports showing hyperlink
field message cannot show html tags.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2023 04:46 AM
Hi @cicgordy ,
after selecting the view and section from the left side box get the *annotation to right side and drag to the field which you want to add and then provide details as below(instead of gmail url please provide required one).
Go to form Layout of that form
Mark it as helpful if that helps.
