You need to sign in to do that
Don't have an account?
VisualForce
PDF problem
Hi..
I want to display contact details in PDF format. I write a page and its work fine.
I am using custom button in Contact detail page for genrate this PDF
Custom Button Properties:
Behavior - Display in new window
Display Type - Detail Page Button
Button or Link - URL https://na6.salesforce.com/apex/ContactPDF
Show Scrollbars - True
Resizable - True
Display Type - Detail Page Button
Button or Link - URL https://na6.salesforce.com/apex/ContactPDF
Show Scrollbars - True
Resizable - True
My problem is when I click PDF button in Contact detail page, one new blank window is opened along with PDF
How to avoid it..
I think I made a mistake in button properties...
Any one guide me..
Probably your username is setup to work in developer mode.
Turn it off and then the page is loaded normally which in fact will be a PDF document. Then it should work fine.
Thanks for ur reply Sam
I already turned off my development mode.. I think I made a mistake in Custom button property..
If u work in PDF generation please send property details of custom button which u get a PDF..
Thans once again for ur reply..
Hi,
Please check the above settings, I am using as it is, it is working fine for me.
Thanks for ur reply Srini..
Still I am getting blank page... When I hit the button I need the page will be retained and PDF is opened..
How it is possible..
For me its opening in another page only, there is no problem.
Check your settings once again.
Thanks for ur reply..
For me also its opening in another window.. But my problem is one blank white window also opened extra.. How to avoid this extra window...
When I hit the button PDF opened in new window and one blank page also opened.... Are u get any blank window..