4

enter image description hereI'm trying to display a report on my Visualforce but its not displaying the same. Please help

`My Page

 <apex:page >
    <apex:form> 
       <apex:iframe src="/00O90000007H9qR?isdtp=nv" width="100%"/>
    </apex:form>
 </apex:page>`
1
  • have you find the solution?
    – unidha
    Jul 4, 2016 at 11:58

2 Answers 2

6

With the Spring 14 release, you can now use the <analytics> tag to embed report charts in VF pages.

<apex:page>
     <analytics:reportChart reportId=”00Oxxxxxxxxxxxx”></analytics:reportChart>
</apex:page>

Check out here for more info.

Also, a very good answer already posted ont his subject by Jesse Altman, worth checking out as well.

reports embedded in visualforce not showing

2
  • Thanks for your valuable inputs. I used <analytics> tag to display the report but its not displaying the report on VF Page. However if Im adding a chart to the report, that chart is being displayed on page. I only need to display the report and not chart on my Page. Attaching the screenshot as well. Aug 8, 2014 at 8:21
  • This code only shows charts, but how do you display the actual report?
    – Mohammad
    Jan 3, 2017 at 19:43
-3

This code should work.

<apex:outputPanel >
    <script>
         location.href="/<RepordID>?isdtp=vw";
    </script>
</apex:outputPanel>
1
  • Thanks for the info.... However this code is still not showing any report on VF Page Jul 15, 2015 at 4:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .