How can we add on-click URL to images in UI Builder?

Gaurav Bhardwaj
Tera Contributor

Hi Everyone,

 

I have added multiple images using UI builder on the homepage and each image should go to some of dashboards.  Is it possible to add a URL to image component in UI Builder, so on click it should go to some destination?

 

Usually there are event handlers associated with many components in UI builder but for the image it is not available. Is there any way we can achieve this?

I am on Utah release of ServiceNow.

 

GauravBhardwaj_0-1684325673248.png

 

 

Regards,

Gaurav

1 ACCEPTED SOLUTION

JagjeetSingh
Kilo Sage
Kilo Sage

Add your images inside "Card Container" component and then you can use card component events to route to the url.

 

 

Jagjeet Singh
ServiceNow Community Rising Star 2022/2023

View solution in original post

2 REPLIES 2

JagjeetSingh
Kilo Sage
Kilo Sage

Add your images inside "Card Container" component and then you can use card component events to route to the url.

 

 

Jagjeet Singh
ServiceNow Community Rising Star 2022/2023

It Worked, Thank you 🙂