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 create icon on Incident form header ?

Sourabh18
Giga Contributor

Hi,

I want to create an icon link on Incident form header just like UI action.

find_real_file.png

Thanks.

1 ACCEPTED SOLUTION

Sourabh18
Giga Contributor

Hi, got solution to solve this issue, I just tried.I had written onload client script on incident form.

find_real_file.png

 

if ($("header_add_attachment") != undefined) {
$("header_add_attachment").insert({
before: '<span><img src="/images/icons/group.gif" onclick="mathodname()" title="' + 'test'+ '"/></span>'
});

 

View solution in original post

3 REPLIES 3

Jaspal Singh
Mega Patron
Mega Patron

Hi Sourabh,

 

Unsure if that can be customized as its part of UI version itself. Refer link for a check.

In case you will to add an UI Action you can add it from System Definitions >> UI Action.

Sourabh18
Giga Contributor

Hi, got solution to solve this issue, I just tried.I had written onload client script on incident form.

find_real_file.png

 

if ($("header_add_attachment") != undefined) {
$("header_add_attachment").insert({
before: '<span><img src="/images/icons/group.gif" onclick="mathodname()" title="' + 'test'+ '"/></span>'
});