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:
- Display customer data in a Table widget.
- Add a column with a custom button or icon that triggers a Modal.
- Inside the Modal, use:
- A Filepicker widget to upload documents
- A Document Viewer widget to preview existing documents
- 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.