How to add Attachment button to Incident form?

Nani6
Mega Guru

Hi,

I have a requirement to add Attachment button to Incident form? Currently we have attachment icon on incident form which is not noticeable by many users, So we want to add Attachment button to forms.

Current:- Attach Icon

icon.png

I want something like this:

button.png

Any help is much appreciable................

1 ACCEPTED SOLUTION

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Shrikanth,



You can create a UI action on incident table as below


Name : Attachment


Client : true


On Click : saveAttachment(g_form.getTableName(), g_form.getUniqueValue());


Please find the below screenshot attached for reference.


Screen Shot 2015-09-23 at 4.25.21 PM.JPG



I hope this answers your question.


View solution in original post

9 REPLIES 9

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Perfect..


I am glad I can be helpful to you


Hi Pradeep,


I want this to be done on ESS page of Incident........Any Help?



Thanks in Advance...


Where can i find the working of these OOB buttons like attachment and activity stream. I mean, from where these buttons are coming from? can we change the functionality of  these buttons?

 

 

Thanks for the solution, Pradeep

 

Ankush gupta
Kilo Explorer

If you dont want UI action or u want some thing on form try using UI macro and call that in form via formatter.