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

Create custom PDF Viewer with Save and Email buttons
I am wondering how i would approach creating something similar to the 'PDF Viewer' that is inherent in salesforce when you view a quote with the buttons on the bottom while being able to view the PDF. I have a PDF being generated from a button on the opportunity page but i want the option for the user to save that pdf and/or email that pdf out to a customer. I assume if i am generating a pdf I cannot use any type of command button, so I would either have to have separate buttons on the opportunity page to do this each seperately, or which I would prefer, have a controller that displays a pdf document inside of a form and allow buttons to display as well.
Would that be the correct approach? is there a way to display a pdf document inside of an apex form easily?
Would that be the correct approach? is there a way to display a pdf document inside of an apex form easily?
And here is what the controller would look like:
I hope this helps you.
here (https://jonyforce.wordpress.com/tag/create-pdf-by-apex-on-quote/)is the link to the original article (kudos to the original author). Hope this helps.