+ Start a Discussion
Vijay sidaraddiVijay sidaraddi 

create a VF page to generate a PDF from the Case objects

Hi , 

create a VF page to generate a PDF from the Case objects which includes fields This pdf should cover all the info from the case object as well as the related lists like Related Contracts, case Assignments,Contacts and Scope of work.

Can someone please provide me apex class for this object.

 
Subramani_SFDCSubramani_SFDC
try this
https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_output_pdf_renderas.htm
Tejas KardileTejas Kardile
Hi,

Use below code and add required related list to with apex:relatedList tag

<apex:page standardController="Case" renderAs="pdf">
 <apex:detail subject="{!Case.ownerId}" relatedList="false" title="false"/>
</apex:page>

If its work for you then mark it as best solution so that other can get help.

Thanks,