Add a URL link for a Multiple Choice Selection in a Catalog Item

chatsaurav19
Tera Contributor

Hi All,

 

How can I add a URL link for a selection of  say 'Yes' on a Catalog Choice variable? The URL link should get populated just below the message and upon clicking should help download an excel file

 

chatsaurav19_0-1696417312524.png

 

Regards,

Saurabh

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@chatsaurav19 

you want to show text along with URL inside it right?

You can do this

1) create a rich text label variable and it supports HTML tags etc so you can show the link along with text

2) use Catalog UI policy to show this rich text label variable when value is Yes

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

View solution in original post

7 REPLIES 7

Samaksh Wani
Giga Sage
Giga Sage

Hello @chatsaurav19 

 

You can write Catalog UI Policy of visibler for populating a field type URL that you want on the selection of yes.

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.

 

Regards,

Samaksh

Hi @Samaksh

 

Can you please show me how to create that?

 

Regards,

Saurabh

Hello @chatsaurav19 

 

Plz follow the below link for your solution.

https://docs.servicenow.com/en-US/bundle/vancouver-servicenow-platform/page/product/service-catalog-...

 

Let me know if you need any assistance.

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.

 

Regards,

Samaksh

Ankur Bawiskar
Tera Patron
Tera Patron

@chatsaurav19 

you want to show text along with URL inside it right?

You can do this

1) create a rich text label variable and it supports HTML tags etc so you can show the link along with text

2) use Catalog UI policy to show this rich text label variable when value is Yes

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