Post Author: serp
CA Forum: Other
I have a few questions regarding viewing reports from a URL.
I can view a report from a url when I do the following
blah/businessobjects/enterprise11/admin/en/viewreport.csp?init=connect&id=594
but this only works if I KNOW the report_id which I do not know the random # generated in the CMS for the report where can I look these up on the fly.
I can go here "blah/businessobjects/enterprise11/webtools/websamples/query/ie.aspx?framework=" and query for a list of all reports and report_id's but this doesn't really help to automatically be able to pick which report to view.
This PDF indicates you can view reports by using a sDocName and SPath which I can use without needing to know the report_id.
Ok, I try this "blah/businessobjects/enterprise11/admin/en/viewreport.csp?init=connect&sDocName=Charting&sPath=[reports]&sType=rpt"
I also tried preplacing [report] with the full path "c:\Program Files\Business Objects\Crystal Reports 11\Samples\en\Reports\Feature Examples" and
"Program Files\Business Objects\Crystal Reports 11\Samples\en\Reports\Feature Examples"
and I get this error "Unable to retrieve Object. Item 1 was not found in the collection."