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
Mko305Mko305 

Retrieve the dashboard Id from an apex controller

Hi,
How can I retrieve the Dashboard Id from inside an apex controller ? We have a Visual Force page used as a component in a few dashboards, we want to change the behavior of the Visual Force page depending on the dashboard.
Amit Chaudhary 8Amit Chaudhary 8

There is a Dashboard table that you can query.  It might get you started  
 http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_objects_dashboard.htm

Let us know if this will help you