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.

How to show single line text variable as hyperlink

lucky24
Tera Contributor

Hi Team,

In catalog item we have 4 single line text variable and we want show on the form as hyperlink

 

For example I have additional information variable so I want additional information text in hyper link "Additional information" , Once I click on that so user should be redirected to URL.

lucky24_0-1697786624410.png

 

For table field there is option to configure label where we can provide URL but for variable I am not getting any option.

Please help me here? 

 

 

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@lucky24 

you can show help text and include the hyperlink in instructions

AnkurBawiskar_0-1697787583193.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Vishal Birajdar
Giga Sage

Hi @lucky24 

 

You can use "Annotation" tab in variable to add link in help text or instructions.

 

VishalBirajdar_0-1697787575224.png

 

 

                                                    OR 

 

You can use "Rich text label" type variable to show the link.

 

VishalBirajdar_1-1697787674165.png

 

 

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

Jim Coyne
Kilo Patron

Did you figure this out?  Did either of the 2 previous responses help you out?