+ Start a Discussion
Rajasekhar TRajasekhar T 

How to add Rendering attachment on PDF Document

I want the attachments to display like a single pdf. suppose i have 1 image file, 1 pdf and 1 text file then i want to display them into a single pdf.
 Is it possible? If yes how can i go for it?
NagendraNagendra (Salesforce Developers) 

How about looping over them and blatting out each one in an iframe?

<apex:page standardController="Account" sidebar="false"> <apex:repeat value="{!Account.Attachments}" var="attachment"> <h1>{!attachment.Name}</h1> <apex:iframe src="{!URLFOR($Action.Attachment.Download, attachment.Id)}" height="200" /> </apex:repeat> </apex:page>
Hope this helps.

Please mark this as solved if it's resolved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.

Rajasekhar TRajasekhar T
Thank you for your help Nagendra. i added above you mention code. but in site mode not working