You need to sign in to do that
Don't have an account?

dasboard for user
I would like to open a dasboard based on user login ,i use below VF code and please suggets me how to implement the logic to open the dashboard based on user log-in
<apex:page >
<apex:pageBlock title="My Dashboard" mode="edit">
<apex:pageBlockSection title="My Dashboard" columns="1" collapsible="false">
<apex:outputLink title="My Dashboard" value="{!URLFOR('/01Z9E0000000EWK')}">My Dashboard</apex:outputLink>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
<apex:page >
<apex:pageBlock title="My Dashboard" mode="edit">
<apex:pageBlockSection title="My Dashboard" columns="1" collapsible="false">
<apex:outputLink title="My Dashboard" value="{!URLFOR('/01Z9E0000000EWK')}">My Dashboard</apex:outputLink>
</apex:pageBlockSection>
</apex:pageBlock>
</apex:page>
Please follow the below step, it would be very helpful for you.
To create a dashboard that uses this Visualforce page:
1.) View the dashboard and click Edit.
2.) Click Add Component from the top of any column.
3.) Choose a Visualforce Page as the component type.
4.) Optionally, enter a header to display at the top of the dashboard component.
5.) Optionally, enter a footer to display at the bottom of the dashboard component.
6.) From the Visualforce Page drop-down list, select your VF page.
7.) Click Save.
If you have any query, please write msg. I will solve your problem.
Thanks,
Arvind Kumar