Forum Discussion
Report on Report Server Folder Structure
- 8 years ago
Hi Reportex,
You can try to utilize Power BI report server rest API:
https://docs.microsoft.com/en-us/power-bi/report-server/rest-api
https://app.swaggerhub.com/apis/microsoft-rs/PBIRS/2.0#/
Best Regards,
Qiuyun Yu
Thanks for the answers, all very useful.
Used the rest-api call in the end using an odata connection to get the catalog items and developed from there:
http://<myhost>/reports/api/v2.0/CatalogItems
The documentation also mentions being able to retrieve the definition of the report
"Using the REST API, you can, for example, navigate the folder hierarchy, discover the contents of a folder, or download a report definition. "
But haven't found out a way of doing that yet - any ideas?
- Anonymous8 years agoNot applicable
You need https://app.swaggerhub.com/apis/microsoft-rs/pbirs/2.0#/CatalogItems/GetCatalogItem
You pass in the GUID (ID) of the item. It returns the RDL content. Can't say I've used it directly, as you can tell I'm pretty old school and tend to go kick the database until it gives me what I want.
We use the REST API via PowerShell and the ReportingServicesTools library Micorosft Provide.
- Reportex8 years agoAdvocate II
Thanks stpnet, not quite the report definition I was after, but I'll keep digging.
I'm old school too, but trying to get access to the db at ClientCo would take forever...