function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kumar prabhatkumar prabhat 

Need to call a dashboard on visualforce page

Hi,
i Need to call a dashboard on visualforce page and that visualforce page will be used as component in  home/home.jsp.The code that i have wriiten is

<apex:page showheader="false" sidebar="false">
< apex:outputPanel id="SalesfunnelDashboard">
<script>
self.location.href="https://ap2.salesforce.com/01Z28000000E4Jo?isdtp=vw" [^]
</script>
< /apex:outputPanel>
< /apex:page>

However this code is calling the dashboard page but it own url. i mean dashboard is not shown on the component rather it is shown on its own url.

Thanks..
Eswar Prasad@Sfdc11Eswar Prasad@Sfdc11
HI Kumar Prabhat,
Pls see the below link you will get a idea
http://www.infallibletechie.com/2012/07/how-to-display-dashboard-using-visual.html
http://www.forcetree.com/2013/02/how-to-embed-standard-salesforce.html

Hope this helps! Mark it as solution if this solves your problem.
Regards
Eswar Prasad.
 
jaw999jaw999
iframe is no longer possible to use.