Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Personalized pdf Certificate in AC webApps

Avatar

Avatar
Level 1
nganev
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
nganev
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
nganev
Level 1

01-10-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 100
MVP
_Manoj_Kumar
MVP

Likes

115 likes

Total Posts

327 posts

Correct Reply

100 solutions
Top badges earned
Affirm 100
Validate 1
Contributor
Ignite 1
Shape 1
View profile

Avatar
Affirm 100
MVP
_Manoj_Kumar
MVP

Likes

115 likes

Total Posts

327 posts

Correct Reply

100 solutions
Top badges earned
Affirm 100
Validate 1
Contributor
Ignite 1
Shape 1
View profile
_Manoj_Kumar
MVP

01-10-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

Answers (1)

Answers (1)

Avatar

Avatar
Give Back 50
Employee
Sukrity_Wadhwa
Employee

Likes

154 likes

Total Posts

910 posts

Correct Reply

35 solutions
Top badges earned
Give Back 50
Validate 1000
Validate 500
Validate 250
Validate 100
View profile

Avatar
Give Back 50
Employee
Sukrity_Wadhwa
Employee

Likes

154 likes

Total Posts

910 posts

Correct Reply

35 solutions
Top badges earned
Give Back 50
Validate 1000
Validate 500
Validate 250
Validate 100
View profile
Sukrity_Wadhwa
Employee

07-10-2020

Hi @nganev,

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

Thanks!