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
EIE50EIE50 

Display dashboard component in a visualforce page

Hi,

 

Is there a way to display dashboard in a visualforce page? I want to display a table kind of dashboard which i have in my dashboards folder and display it in the visualforce page in my site/portal. Any thoughts?

 

Thanks

JimRaeJimRae
You will have to recreate the dashboard component in Visualforce directly.  For a table type component, it is not too difficult, you can use the pageblocktable, the graphs are a bit harder.
EIE50EIE50

IS there any documentation to acomplish this, as i have no clue of how to proceed to create dashboard component using visualforce / apex. All i am trying to achive is, display the statistics on the site / portal home page. Something similiar to:

 

Site Stats

Posts             566
Votes13307
Comments1363

 

 

Thanks.

JimRaeJimRae

The visualforce documentation has a section on how to create a VF page to use in a dashboard, it should be a good starting point:

 

http://www.salesforce.com/us/developer/docs/pages170/index.htm

 

Once you open this documentation, search for "dashboard".

Roslyn McGintyRoslyn McGinty

This is awesome guys, thanks for this thread!

 

I've just created a custom tab that shows our Staff Phone Extension list.

 

Created using Apex/Visualforce querying our Fairsail Team Member object.

 

Comments here helped!

 

Thanks again and have a great day.

 

Ros :)