Category: Widget
Updated

This solution is summarized from an archived support forum post. This information may have changed. If you notice an error, please let us know in Discord.

Can I Attach Files to a Table Row Using Filepicker in Appsmith?

Issue

I am trying to build an AppSmith app to manage my customers and attach a file (e.g. a contract as a PDF) to each customer (one customer = one row). I want to use a modal/form to pick and upload the file, and display an icon in each row with the uploaded file so that I can view the file by clicking the icon. I'm not sure if it's possible to do this with the file picker widget in AppSmith. Can someone guide me?

Resolution

This use case is fully supported using Appsmith’s built-in widgets. You can achieve this workflow using a combination of the Table, Filepicker, Modal, and Document Viewer widgets.

How to Build it:

  1. Display customer data in a Table widget.
  2. Add a column with a custom button or icon that triggers a Modal.
  3. Inside the Modal, use:
  4. Store and retrieve the file URL from your backend or a storage service.

With this setup, you can build a flexible, user-friendly document attachment workflow inside your Appsmith app—ideal for customer management tools, internal CRMs, or admin panels.