You need to sign in to do that
Don't have an account?
SHAIK MOHAMMAD YASEEN
I have a custom button on my custom object. on click of the button it will redirected to a vfpage. now my requirement is on click of the button i have to download the VFpage as PDF
Hi All,
I have a requirement where i have created a custom button on the detail page of any record of a custom object. on click of the button a new window will be opeened with a VF page rendering as PDF. now my requirement is to download the page with out displaying the page. I mean on click of the button the VF page should be downloaded.
Please note the data is generated in the VF page based on the record id of the record which is being passed to page on click of the custom button.
BEst Regards,
Mohammad Yaseen
I have a requirement where i have created a custom button on the detail page of any record of a custom object. on click of the button a new window will be opeened with a VF page rendering as PDF. now my requirement is to download the page with out displaying the page. I mean on click of the button the VF page should be downloaded.
Please note the data is generated in the VF page based on the record id of the record which is being passed to page on click of the custom button.
BEst Regards,
Mohammad Yaseen
Use like below working code.
-Lokesh
-Lokesh
It is very simple. Please follow the below blog. You will get solution of your requirement.
http://salesforcemaniacs.blogspot.in/2016/01/detail-page-button-to-show-pdf-file-in.html
If you have any query please let me know.
Thanks,
Arvind Kumar