Personalized pdf Certificate in AC webApps | Community
Skip to main content
October 1, 2020
Solved

Personalized pdf Certificate in AC webApps

  • October 1, 2020
  • 2 replies
  • 1868 views

Dear community,

I'm looking to build a simple webapp in Adobe Campaign with a button. Inside the button I want to have a downloadable PDF with personalization to the firstName, lastName. I had a look at the documentation on how to do personalized PDF attached to an email delivery, but as it's a bad practice to send PDFs over email I need to create a webapp and store the pdf there so the user can land on page and download pdf and be personalized to their first/last name.

I can identify the viewer who lands on the webapp through a parameter in the URL. But I'm not sure how I can render their first/last name inside the pdf, as pdfs uploaded to the Public resources folder are static.

Anyone know some way to do it or any workaround ?

 

Thanks,

Nikolay

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Manoj_Kumar

Hello @nganev 

 

You can first create a div element with some id tagged to it. Then populate all your data in the div element with the personalization. Then you can use the below code to create a button and that code will generate a downloadable PDF of the content populated in the DIV tag.

 

Here is the working demo

https://jsfiddle.net/damithz/Lo7kznLu/

 

Thanks,

Manoj

2 replies

Manoj_Kumar
Community Advisor
Manoj_KumarCommunity AdvisorAccepted solution
Community Advisor
October 1, 2020

Hello @nganev 

 

You can first create a div element with some id tagged to it. Then populate all your data in the div element with the personalization. Then you can use the below code to create a button and that code will generate a downloadable PDF of the content populated in the DIV tag.

 

Here is the working demo

https://jsfiddle.net/damithz/Lo7kznLu/

 

Thanks,

Manoj

Manoj  | https://themartech.pro
Level 2
June 17, 2021
@_manoj_kumar_ Could you please elaborate more on this, I have used above code but it is not generating any sample PDF and how can we add personalized fields to it. @nganev
Sukrity_Wadhwa
Community Manager
Community Manager
October 7, 2020

Hi @nganev,

Were you able to resolve this query with the given solution? Do let us know.

Thanks!

Sukrity Wadhwa