I need to show the salesforce standard report in pdf format. please help on this as I tried getting the report into visual force by using

<apex:page showHeader="false" sidebar="false">
<apex:outputPanel id="MissingAttRpt" >
<apex:iframe src="/00O28000000aORe?isdtp=lt" scrolling="true"  height="1588px"  width="100%"/>   

isdtp=lt // isdtp =mn

this is not fetching the report into the page after inspecting I am getting the error

Refused to display 'https://ap2.salesforce.com/00O28000000aORe?isdtp=mn' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

My Approach was that if the report is visible on the page then rendering the page in PDF.

Need quick response in this case . Please let me know if my approach is correct in this case or not.

I tried even going for the

<analytics:reportChart reportId=""></analytics:reportChart>

but this is not my solution as I believe because I need the report in pdf but here the result is in a chart.

1 Answer 1


We can generate reports in pdf


Allows you to send and schedule these reports.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.