Jump to content

Save Generated PDF files to CASPIO database

Recommended Posts


We are in the final stages of a project where users are able to download a PDF version of the responses they have submitted. The PDF document is several pages long and is designed as a professional customised template. We want to be able to save all users PDF files in the CASPIO database so they can access the files in the future without having to generate them again from the CASPIO data page. We also want to be able to mass download all PDF files from all users at once  (over 900 members). This is complicated by the fact that parameters cannot be passed to the PDF generator within CASPIO.  We would like to know if there is a solution for using JavaScript that will generate the PDF file (perhaps as a standard data page) and then when the download link is pressed it downloads the file to the users hard drive, but also uploads the file to the CASPIO database? 

I've got as far knowing this command will allow different types of files that can be uploaded:


Is it possible to upload the present data page using a similar command?



Link to comment
Share on other sites

  • 2 years later...
  • 1 month later...
On 10/21/2020 at 2:51 PM, Sreya said:


I am looking for a solution to a similar problem.
Were you able to figure out how to achieve this?



PDFs now are a standard feature. If you want the standard one, you can actually take this as a reference: 

For third party, you may want to take a look at this 


Link to comment
Share on other sites

  • 11 months later...

Hi everyone! Just an update: Caspio has finally released a feature to show document generation, initially supporting custom PDF templates. You can upload your own fillable PDF file and map each field to a Caspio table.

It is available in R30 version: https://howto.caspio.com/release-notes/caspio-30-0/

Link to comment
Share on other sites

  • 4 months later...
  • 4 weeks later...
  • 1 month later...

Hi @Felix - We have Professional Services team that can take your requirements and develop this custom workflow. Should you wish a price quote and timeline for leveraging Professional Services, you may reach out to Support to schedule you for a free consultation session with a Project Manager. Or you can also fill out the form in this link  https://www.caspio.com/professional-services/

Link to comment
Share on other sites

  • 6 months later...
  • 2 months later...

Hey there! Caspio releases new enhancements to the document generation feature, check this out: 

  • Support for images in addition to text in PDF watermarks
  • Additional capabilities that determine when a PDF checkbox should be selected or not: 
    - More conditions added for date/time and timestamp fields 
    The ability to use display values of related tables in conditions 
  • Additional “Data source type” column on the document templates list view

Source: https://howto.caspio.com/release-notes/caspio-36-0/#:~:text=Enhancements to Document Generation

Link to comment
Share on other sites

  • 8 months later...

Hi guys! Just wanted to update this thread regarding Caspio's recent upgrades for document generation features:

  • The option to enable password protection for generated PDF documents.
  • The ability to replace PDF templates while preserving existing mapping configurations.
  • The option to apply custom number formatting to values.

https://howto.caspio.com/release-notes/caspio-43-0/#:~:text=Enhancements to Document Generation

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...