OnClick of Attachement Button

Markell
Tera Guru

Hi Guys

The basics of what i am trying to do i simply show a custom Message when a user clicks on the Attachment paperclip icon.

I'm guessing this would be done via a UI Action, but I don't know how to access or call the Attachment button. 

I've tried using Google developer view to find out but no luck.

 

Has anyone done this before or even just know what the 'value' of that Icon is?

If you know where I can access the original onClick script for the attachment Icon (there must be one to fire the attach file feature) that would be helpful also 🙂

 

Thanks in Advance

1 ACCEPTED SOLUTION

Hi Markell,

you can check the attachment ui page. but since you want to add some custom text besides choose file button you need to copy that ui page and name as per your wish and call that ui page or else it would be global change.

Where are you stuck?

Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

18 REPLIES 18

Hi Markell,

Any update on this?
Can you mark my answer as correct, helpful if you were able to achieve the requirement. This helps in removing this question from unanswered list and helps users to learn from your thread. Thanks in advance.

Regards
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur I totally forgot about this thread as I found the solution sniffing Around the html table. I will post how I got to this answer soon I just havent had the chance to follow up. You have been very helpful though 🙂

Hi Markell,

Sure let us know how you achieved this.

Can you also mark my answer as correct and helpful if it helped.

Regards

Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Keang
Tera Contributor

Hi @Markell 

We have a requirement that, upon submitting a standard change request, users must attach a consent file for processing. We are seeking to implement the same functionality that you have successfully achieved. Could you please assist us with this?  Thank you