You need to sign in to do that
Don't have an account?
Madhuri Gowda
Creating a Custom save to pdf Button ON a Visual Force Page
Hello All
i need a small help
i have already created a VF page, i have put it in a custom button called "Generate PDF ", now i need a Button called "Save & Send Email " where a PDF should get saved and email must be sent to its related contact, just like Quote PDF (Save & Email Quote)
i tried to refer the below links
https://developer.salesforce.com/forums/?id=9060G000000Xj73QAC
but dint have any luck, can anyone please help
i need a small help
i have already created a VF page, i have put it in a custom button called "Generate PDF ", now i need a Button called "Save & Send Email " where a PDF should get saved and email must be sent to its related contact, just like Quote PDF (Save & Email Quote)
i tried to refer the below links
https://developer.salesforce.com/forums/?id=9060G000000Xj73QAC
but dint have any luck, can anyone please help
I've gone through your requirements and you can find below code helpful:
If you need not only convert your page to PDF but save this file with a specific name here is a workaround. You will need two pages. First page generates an PDF file and second saves it with specific filename:
The main "wrapper" page saves PDF and gives a filename:
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha
www.kdeepali.com