You need to sign in to do that
Don't have an account?
atulit27
How to edit Reports and Dashboards Programmatically?
Hi,
I want to customize the Reports and Dashboards through apex code. The API's for Dashboard and Reports are not supporting this. I tried it out with this API link for Dashboards
http://www.salesforce.com/us/developer/docs/api_meta/Content/meta_dashboard.htm
Is there anyway round where I can get the Reports attributes used in a Dashboard and then able to customize reports accordingly through apex code?
Thanks,
Atulit
You can't SOQL this sort of data; it's covered under the Apex Metadata API. You would have to use a method that can leverage the Metadata API. You can't do this in pure Apex Code due to timing considerations (it's asynchronous), but you could use Visualforce to poll the results, then handle most of the processing in JavaScript or action functions.