You need to sign in to do that
Don't have an account?
Mko305
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.
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.
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