Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Help with adding an hyperlink to a field message

cicgordy
Tera Guru

Hi all,

 

how can I add an hyperlink to this field message in blue, to the "problem" word. 

 

 

 

Thanks 🙂

1 ACCEPTED SOLUTION

Prince Arora
Tera Sage

@cicgordy 

 

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.

View solution in original post

8 REPLIES 8

ArpitaVK
Tera Expert

Hi @ArpitaVK I looked at this previously, this only adds a link to the message in the header, not as field message sadly

Ankur Bawiskar
Tera Patron
Tera Patron

@cicgordy 

Please use g_form.addInfoMessage() and it supports showing hyperlink

field message cannot show html tags.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

lp6
Tera Guru

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 

lp6_0-1683200677484.png

Mark it as helpful if that helps.