Jump to content

Save Generated PDF files to CASPIO database


Recommended Posts

Hi,

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:

<SCRIPT LANGUAGE="JavaScript">
document.getElementById("InsertRecordfilename").setAttribute("accept","application/pdf");
</SCRIPT>

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

Thanks

Scott

Link to comment
Share on other sites

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

Hi,

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

Thanks.

Sreya

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...

Hello! Just to update, Caspio has a recent release where you can now use PDF templates on the results page and, customize the styles of the 'Download PDF' option. For more information, you may read it here:  ihttps://howto.caspio.com/release-notes/caspio-31-0/

Link to comment
Share on other sites

  • 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

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.

Guest
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.

Loading...
 Share

×
×
  • Create New...