Map Form File Upload Field to .pdf
Hello smartsheeters,
The bottom field of my form is the field "File Uploads", which are image the user takes to support the data entered. Once the form is submitted, an automation makes it into a .pdf. Unfortunately, when mapping the fields, there is not drag and drop column options for the files which were uploaded.
How can you map images to generate on the document, please?
TIA!
Answers
-
To generate a PDF document with images from your form submissions in Smartsheet, you'll first need to ensure that each image file uploaded via the form is placed into a cell as an image. Here are the steps to manage this:
- Create Image Cells: Create a column in Smartsheet designated for images.
- Manual Insertion: You can manually download the image files from the form submissions and then insert them into the designated cells. This method requires you to handle each submission individually.
- Automating with Smartsheet API: Alternatively, you can automate the process using the Smartsheet API. Develop a script that automatically fetches the uploaded image attachment files from the submissions and inserts them into the corresponding cells in your Smartsheet. This method saves time and effort, especially with numerous submissions.
Once the images are correctly placed in the cells:
- Generate PDF: You can then use Smartsheet's functionality or additional automation to generate a PDF document that includes these images.
If you're unfamiliar with API coding, consider consulting with a developer. The Smartsheet Developer documentation is valuable for getting started with API usage.
https://smartsheet.redoc.ly/tag/cellImages#operation/addImageToCell
Image of the sheet whose image attachments were inserted into the cell and pdfs created with automation.
Image of such pdf
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 422 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!