You need to sign in to do that
Don't have an account?
![shoba shoba shoba shoba](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
How to display the all dashboard in visualforce page
My scenario is to display all the dashboard in the homepage. For this i wrote visualforce page and then i added to home page component. It showing all the dashboard in the homepage when we click the dashboard its not redirecting to dashboard page. Can any one help me out to solve this issue. Thanks in advance.
<apex:page showheader="false" sidebar="false"> <apex:outputPanel id="SalesfunnelDashboard" > <script> window.location.href="https://cs51.salesforce.com/01Z4B0000000FwO?isdtp=vw"; </script> </apex:outputPanel> </apex:page>
All Answers
Yes it wont work in that manner..because here it is simply redirecting to dashbard only , it is not like you are on VF page and inside that VF page you are showing dashbard..
Your page is only executing the scripts so it is only redirecting , if you see the URL you will come to knwo that you ar eon dashbard not on VF page...
for that home purpose you ned to add reposrts in your VF page and show them so it will be similar to dasbard.
ALso if you just want to show the dashboard in home page then you can follow these steps:
1. Go to setup
2. Type Homepage
3. go to homepagelayout
4. check the dashabrd chcekebox then dashbard will appear on your homepage.
5. save
please check and let me know oif that helps you.
Thanks
I can click and it is redirecting me also. please check again and click on graphs then it will redirect you.
Thanks
Let me know if you are able to click and redirect from dashbaord. if you are facing any issue then let me know.
Thanks,
Sandeep
I have the same issue where the Dashboard renders, but the visualizations on the dashboard are not clickable, but they are on the native dashboard.