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
undeesundees 

How do I fetch a Report object?

I've got a report that's been prepared by someone else -- basically just a filtered list of contacts -- that I'd like to retrieve. What kind of object is this? I'd think it was a Folder, perhaps, but trying to retrieve it as a Folder returns an error. If the report has a SFID of "n", what does the query look like to retrieve all the contacts in the report?

Thanks,

undees
ScotScot

Currently, reports are not exposed through the API, though there are some temporary work-arounds to accomplish this.

Try a search for "report api" and you'll find some of the threads discussing this.  One you might check out first is related to:

http://forums.sforce.com/sforce/board/message?board.id=NET_development&message.id=2201

undeesundees
Brilliant! Thank you, Scot!