You need to sign in to do that
Don't have an account?

Custom button in Quote needs to use the Custom PDF
Hi , I have created Custom pdf with a wizard that we use , but now I need to create custom button inside Quote which gets the Quoteline Item , or the Quote ID and pas it to my PDF, I dont knwo how I can make button that will get atleast Quote ID . if I get the Quote ID I might be able to to just pass that to my PDF Apex and create new one
/apex/PDFVFPageName?id={!Quote.Id}.
In controller,
Please try this and let me know if this works. If not, please paste your URL link as well as Controller code
ApexPages.currentPage().getParameters().get('mId').getContentAsPDF();