+ Start a Discussion
Salesforce 283Salesforce 283 

one PDF file put into another PDF in visualforce page

Hi Guys,

I have created one PDF page. So i want to add one more PDF into this PDF. Is it possible to do that. If it is possible how can i do that please help me out this problem.


Thanks,
Mahesh.
logontokartiklogontokartik
I am not sure I understand your question, do you want to concatenate two pdfs?
Salesforce 283Salesforce 283
Hi, Yeah, Concatenate 2 pdfs. Suppose, if i created one pdf which has 15 pages. I want to add 10 more pdf pages into that which i created previously. So that 10 pdf pages call directly. Can i put 10 pdf pages somewhere and call like that. Thanks, Mahesh.
logontokartiklogontokartik
If everything is being done using Visualforce, you can try Visualforce templating ability to do so, so you create 3 visualforce pages,

Page 1 : Visualforce PDF with 15 pages,
Page 2 : Visualforce PDF with 10 Pages
Page 3 :  Concatenaed page with Page 1 and Page 2, you can do this by referring the above two templates in this page. you can use something like
 
<apex:page renderAs="pdf">
    <apex:composition template="page1"></apex:composition>
    <apex:composition template="page2"></apex:composition>
</apex:page>

Maybe this will solve your problem?



 
Salesforce 283Salesforce 283
Hi, Is there any other way to do?Don't we have to call pdf file from static resource like PDF file will put in static resource then call it in vf page. Regards, Mahesh.
Arul Bernard I 14Arul Bernard I 14
Can I get the exact code of this? It is matched with my requirement, Plz help me out  
Thanks in advance