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

How to create a report in PDF using visual force?
Presently I am using the following syntax but I am getting a blank pdf page with this. Can anyone please help me
<apex:page standardController="Report" renderAs="pdf">
<apex:iframe src="/00OK0000000TZ2u"/>
</apex:page>
<apex:page standardController="Report" renderAs="pdf">
<apex:iframe src="/00OK0000000TZ2u"/>
</apex:page>
Thanks for replying, still it is displaying a blank pdf page!
You can check using chrome if you are getting below error:
There is a workaround but with that you can open report in seperate tab and then download it as PDF using chrome standard way.
any reason to pass a Id in <apex:iframe>?
you can try using <apex:outputtext value="hello"/> and a pdf page is rendered with hello in it.
http://docs.releasenotes.salesforce.com/he-il/winter14/release-notes/rn_186_forcecom_cruc_setup_pages.htm
http://salesforce.stackexchange.com/questions/34236/iframe-in-visualforce-page-not-working-for-standard-sites