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 make the column as clickable link in the SP page widget

DJ SNOW
Tera Contributor

I have a URL column that is readable on the service portal widget, I need to make the URL column clickable. what steps must I follow to make it clickable and open in a new tab?

3 REPLIES 3

M Ismail
Tera Guru

Hi @DJ SNOW,
we can do this by using anchor tag everything in anchor tag will be a url 
example 

 

<div>
<a href="{{URL_COLUMN_VALUE}}" target="_blank">{{URL_COLUMN_VALUE}}</a>
</div>

 


Replace URL_COLUMN_VALUE with your column name.
Please hit helpful and accept this as a solution if it solved your problem.
Thank you!


DJ SNOW
Tera Contributor

The URL(column value) changes for  each record on the widget

Hi @DJ SNOW,

Checkout this screen shot here how I converted the number of record into clickable link 

MIsmail_0-1710393877422.png