+ Start a Discussion
Mahesh Babu 3Mahesh Babu 3 

Display dashboards for community users

Hi All,

I am trying to display the dashboards on VF Page for community user, the code is in below

<apex:page standardController="Dashboard" cache="false" showHeader="false" sidebar="false" title="Auto-Refresh Dashboard">
  <apex:iframe src="{!URLFOR('/01Z90000000EZz0')}" scrolling="true"  />
</apex:page>

But communities user can't able to see this page on community site, getting error at this point

Please help me to solve this.



bob_buzzardbob_buzzard
If this is a customer community user you are out of luck - they don't have access to dashboards regardless of how you pull the dashboard in.

If its a partner community user, check that the dashboard folder is shared with the partner role for the particular user.

Mahesh Babu 3Mahesh Babu 3
Thanks for reply,

I have shared folder permission to partner community user, Still i am getting same error like '<domain site url> is under constructions'.
Info: I have added this page to site related VF pages

I have tried this
<apex:page standardController="Dashboard" cache="false" showHeader="false" sidebar="false" title="Auto-Refresh Dashboard">
<apex:outputLabel value="Hello"  />
<apex:iframe src="{!URLFOR('/01Z90000000EZz0')}" scrolling="true"  />
</apex:page>

"Hello" Output label has displayed, under that i am getting error for <apex:iframe src="" /> section