+ Start a Discussion
SFDC INSFDC IN 

How do I export feed placed on any Account record in the PDF format ?

Hi,
Can anyone tell me how we can export feed placed on any account record as PDF. I want to do this via custom Button that will export the feed in tas pdf ?
Best Answer chosen by SFDC IN
NagendraNagendra (Salesforce Developers) 
Hi Sharukh,


Put your account related feed into Visualforce page with renderAs attribute value of pdf
<apex:page renderAs="pdf"> // insert your Account feed code here </apex:page>
This would generate pdf file for you.

Please let us know if this helps.

Kindly mark this as solved if the information was helpful.

Thanks,
Nagendra

All Answers

NagendraNagendra (Salesforce Developers) 
Hi Sharukh,


Put your account related feed into Visualforce page with renderAs attribute value of pdf
<apex:page renderAs="pdf"> // insert your Account feed code here </apex:page>
This would generate pdf file for you.

Please let us know if this helps.

Kindly mark this as solved if the information was helpful.

Thanks,
Nagendra
This was selected as the best answer
SFDC INSFDC IN
Thanks Nagendra!
NagendraNagendra (Salesforce Developers) 
Hi Shahrukh,

Kindly 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.

Thanks,
Nagendra