Can we generate PDF in ExactTarget?

I want to generate PDF document on the basis of data available in my customer DataExtension and print it in proper format so that it can be sent to customer by a email. is there any AmpScript, SSJS, API AmpScript functions or any other way to generate PDF document in ExactTarget?

If anyone has any ideas or experience with this your help would be greatly appreciated.

Answers:

Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

Your best bet would be to generate the PDFs outside the platform.

I suppose you could build a Script Activity that uses some sort of JS library (like referenced in this post) to generate the PDF from HTML and then create a Portfolio object for it with the SSJS/AMPscript API functions. It’d be a good idea to build all of the PDFs for your audience in advance by adding aforementioned Script Activity to an Automation.

Once the PDF has been uploaded to the Portfolio (or simply accessible via public web address), then you can certainly attach it to an email in the platform with the AttachFile() AMPScript function.


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x