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.

Add Custom attachment button in Service Portal Popup Window

Manu31
Tera Contributor

Hi,

 

I have the requirement where we need the attachment button on Service Portal. There is a custom button on portal . When user clicks on button "Modal " gets opened and there we need attachment button where user can attach files also.

 

is there any implemented similar to that. Then let us know.

 

Thank You !!

1 REPLY 1

Community Alums
Not applicable

Hi @Manu31 ,

there is an add attachment widget created by @HV here: github-link. It originated from this community post.

Generally speaking uploading an attachment with a custom action is not as easy as it may seem. However, there is an API (which is also used in the widget i linked) that allows you to upload an attachment to any table/record you may need.