We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Onload client script to insert a url link on normal change request

EPoole954
Tera Contributor

I need to create a onload client script that inserts a clickable "Knowledge Article" url link with the title on a "Normal" change request record and placed under a certain field. Below is the code I produced but I am not sure what I am missing, Can you help??

5 REPLIES 5

Mark Manders
Giga Patron

I would use the g_form.addInfoMessage() to show a link on the form. It won't be on the field, but it is visible. The only other way is through DOM manipulation, but the advise is to use that as little as possible.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark