You need to sign in to do that
Don't have an account?
gdk
Visualforce page download as a PDF when Button click
Hi All ,
I have a Requirement to Download the Visualforce Page as PDF When click on CommandButton
Here I have 2 - Visualforce Pages i have placed a Command Button in One of the Visualforce page when i click on this button the other visualforce page will Download as a PDF without pageredirection
Plese give me a Solution and Thanks in advance...
I have a Requirement to Download the Visualforce Page as PDF When click on CommandButton
Here I have 2 - Visualforce Pages i have placed a Command Button in One of the Visualforce page when i click on this button the other visualforce page will Download as a PDF without pageredirection
Plese give me a Solution and Thanks in advance...
The main "wrapper" page saves PDF and gives a filename:
PageThatGeneratesPdf - only generates PDF content:
All Answers
The main "wrapper" page saves PDF and gives a filename:
PageThatGeneratesPdf - only generates PDF content:
You can use 'renderAs="pdf"' tag in Visualforce Page definition.
<apex:page renderAs="pdf">
Regards,
Sridhar Bonagiri
Here you can find examples:
Visualforce download as PDF (https://arrify.com/generate-pdf-in-salesforce/)
Sagar Pareek
Thanks in advance
this code is working in the android but not in ios & can you open the browser on the clicking on the button no only on the preview in android & ios both