Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 4
    I worked on a very similar problem a while ago and found no succor via the Dashboards and Reports API, which can create subscriptions only for the logged-in user. Commented Oct 28, 2018 at 12:27
  • 1
    well, if you can wait until Summer 19 (safe harbor), the Platform Events PM says that Platform Events can be consumed by a configurable running user so your Lightning component would publish platform events of various types that upon consumption, could start the report schedule. At present, though, you are limited in the number of xxx__e SObjects and it is far smaller than 1000 Commented Oct 29, 2018 at 3:50
  • Thanks both. I don't get how platform events could help to resolve the running as problem in a daily basic process. Could you please expand the idea ? Commented Oct 30, 2018 at 9:42
  • Another proposal: JWT authentication via a Connected App would allow you to access the Reports and Dashboards API as any user whose profile is "pre-approved" on the associated Connected App. You'd then be able to schedule a report as them. Commented Nov 1, 2018 at 11:27