How to attach a document to multiple records via list view

AMIT SINGH2
Tera Contributor

Hello Team,

I want a List action(declarative action) on click of which I will get a popup and in popup I will be able to attach a document in workspace view.
After submitting Attachment of documents, It is get attached to to multiple records.

If I will get any code, it will be a very good help for me.

Every help will be appreciated.

 

2 REPLIES 2

Deepak Shaerma
Kilo Sage

Hi @AMIT SINGH2 
there isn’t a direct copy-paste solution for this specific requirement because it involves a combination of client-side scripting (for the popup and attachment handling) and server-side operations (to attach the documents to the selected records).

First, you’ll need to create the List Action within the table for which you want this functionality.
Ui page --> you will need to design a form that includes:

- An attachment upload field.
- A submission button that triggers a script to attach uploaded files to selected records.
Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help both the community and me..
- Keep Learning ‌‌
Thanks & Regards 
Deepak Sharma 



Hello Deepak, 
I need the code. Can you please help me with the code?