We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

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

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.