0

I need to download dashboard images progamatically(apex or javascript). Is there away this can be done?

enter image description here

Thanks

-1

Not possible inside salesforce using apex/javascript because you will have to run that on load of the page. You cannot customize something like onload property on a dashboard page.

A hack :

  1. In outlook create a distribution list and add all the users emails to that distribution list
  2. Create a user in SF with email as the email of the distribution list
  3. Subscribe to the dashboard as this user
  4. Screenshot will be sent to this email, which will further received by all users

Alternatively you can also create an outlook rule to forward the email received by any one of the 5 users to all others.

5
  • Yes it makes sense because that's the business requirement. This is a standard salesforce functionality that works by subscribing to a dashboard but the problem is that a user can only subscribe to 5 dashboards. When user subscribes to a dashboard they receive an image of the refreshed dashboard on a scheduled basis. I need to replicate the same functionality but for more users. thanks
    – sfBilb
    Sep 8 at 0:54
  • I have answered your question in second paragraph. What you asked cannot be done using apex/javascript.
    – Sid
    Sep 8 at 1:37
  • Alright, Thank you.
    – sfBilb
    Sep 8 at 1:47
  • This answer could be improved by elaborating on the Visualforce solution and why it is a bad pattern, since it seems to contradict the "not possible" claim.
    – David Reed
    Sep 8 at 3:08
  • Check the latest suggestion
    – Sid
    Sep 8 at 3:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.