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 display URL link from message

chanikya
Kilo Sage

Hi,

i have used below script , it is not displaying URL link in messge

g_form.showFieldMsg("testing" + "<a href='" + 'https://www.doc.servicenow.com '+ "'>" + "</a>" + " has been created");

22 REPLIES 22

Hi Jaspal, Any suggestions please

Hi Jaspal,

 

find_real_file.png

You can try using

 

var link ="Testing" + '<a href='+"https://www.doc.servicenow.com"+'>ticket</a>'+"has been created";
gs.addInfoMessage(link);

 

Thanks,

Jaspal Singh

 

Hit Helpful or Correct on the impact of response.

Hi,

find_real_file.png

 

 

 

 

find_real_file.png

Yea, that's a bad link anyway....I think it would still work. Try a different website, like google or something.

 

Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!