Skip to main content
Level 4
Jan 9, 2025 2:23 PM UTC
Solved

Download a Prefilled PDF on a button click

Hi, I have a requirement to render a XDP as HTML, have user fill in the data and then have a button on the HTML that says "Download PDF" when clicked, this should download a PDF rendering of the XDP with data prefilled (same data entered in the HTML form). Any ideas on how i can go about implementing this?

workflowuserAccepted solution
Adobe Employee
Jan 9, 2025 4:16 PM UTC

https://experienceleague.adobe.com/en/docs/experience-manager-learn/forms/document-services/render-interactive-form-using-api

this gives sample assets

you can download and deploy them on your server to test the capabilities 

3 replies

Adobe Employee
Jan 9, 2025 3:19 PM UTC

I have a tutorial on this

will send you the link once I get to office 

Translate
kolluaxAuthor
Level 4
Jan 9, 2025 3:21 PM UTC

Thank you very much.

Translate
workflowuserAdobe EmployeeAccepted solution
Adobe Employee
Jan 9, 2025 4:16 PM UTC

https://experienceleague.adobe.com/en/docs/experience-manager-learn/forms/document-services/render-interactive-form-using-api

this gives sample assets

you can download and deploy them on your server to test the capabilities 

Translate