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,

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

I will try this today and update this thread after Thank you 🙂

Hi Ankur think this has been a great place to start just looking to see where I can access the dialog of the alert (i.e where it says file chosen)

 

find_real_file.png

 

Regards

 

Markell

Hi Markell,

Unable to view the image which you have added in the comment.

Regards

Ankur

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

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