function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
yarramyarram 

How can I use "pdfOverlay" functionality for "create pdf" for custom objects like as create PDF on Quote object?

HI All,

how can i use "create quote pdf" functionality on my custom object for crate pdf for my custom object data same as quote pdf.

is this possible?

Any advice to get to this solution?
 
SarfarajSarfaraj
Hi

You can render any visualforce page as PDF. Using this feature you may achieve functionality like quote pdf. This is a very simple example,

Say you have a custom object My_Custom_Object__c  and a029000000Jcai8 is the id of one record of this object. Create a visualforce page ‘CreatePDF’,

<apex:page standardController="My_Custom_Object__c" renderAs="PDF">
    <apex:detail />
</apex:page>

If you open this page /apex/CreatePDF?id=a029000000Jcai8, you will get the pdf.