You need to sign in to do that
Don't have an account?
Unable to access custom report list using servlet.ReportList in dev org
We are attempting to access servlet.ReportList programmatically in order to parse the XML output and dynamically construct URL's based on report ID's matching folder / name queries. What I'm finding is that even though I can see the folder and reports that we will be looking for while browsing in the UI, when I access servlet.ReportList, only the standard reports and folders are available to me.
I have checked permissions and everything is set to public read/write temporarily until development is complete. My profile has the required access to the object and fields, and I can run the reports without issue. The interesting thing is that the dev org that I am working in has recently been migrated from another dev org using Eclipse (IDE v16.x), and when I run the servlet.ReportList in the old org I see all of the custom reports in the XML output. I'm trying to isolate the delta between the reports / folders, but the thing that perplexes me is that I have no issue with visibility through the UI...only through servlet.ReportList. Both orgs are Spring '10.
Any ideas?
Might as well give the fix for this since I had the issue and still had questions about why this is so. Wonder if someone can tell us why servlet.ReportList even exists...
Anyways, the fix for your issue is that the folder must be "visible to all users, including portal users." If there is any access restriction then it doesn't show up in that list. Which is a little odd since the "My" folders show up but not the ones accessible to all users, except portal users. Seems a bit backwards.
If someone can tell me a legetimate use of servlet.ReportList that seems broken by the lacking reports, then I can file it as a bug and get it fixed. But for me, I have no idea why this XML page would exist except for attempts to use it for a hacked API purpose.