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.

Number as hyper link

shaik23
Tera Expert

Hi all,

 

i want Number as hyper link (Incident,problem,Hr profile tables) when we click on context menu just like copy to clipboard i have created a context menu as HTML-formatted link when user click on this the incident number should be copied as hyperlink, screen shot shared below for reference

shaik23_0-1738152239555.png

 

By using below code i am able to copy the Number as text.

runContextNumberAction();

function runContextNumberAction(){
var gr = new GlideRecord(g_list.getTableName());
gr.get(g_sysId);
copyToClipboard(gr.number);
}

i need help on this.

Thanks.



5 REPLIES 5

@Sandeep Rajput Logs are empty