Report Server report using the Bold Reporting Tools Report Viewer
Bold Reports® Server provides a built-in RESTful API to embed Report Server reports using the Bold Reporting Tools Report Viewer. To do this, set the serviceAuthorizationToken, serverurl, reportServiceUrl, and reportPath properties for the Report Viewer.
Which Report Viewer properties do I set?
The Bold Reports® Report Viewer needs four properties to render a Report Server report. The following table lists each property and its value.
| Report Viewer Property | Value |
|---|---|
| serviceAuthorizationToken |
Pass the user's access token. You can obtain this access token using the Bold Reports® Server Authentication API.
bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InN1 YmhhLnN1a3VtYXJhbkBzeW5jZnVzaW9uLmNvbSIsIm5hbWVpZCI6IjEiLCJ1 bmlxdWVfbmFtZSI6ImM0NWFiZmE0LTBlNjAtNGI4Yy04NWM4LWMxNTBiOGJh MjlkNyIsIklQIjoiOjoxIiwiaXNzdWVkX2RhdGUiOiIxNjMxNzEyOTYzIiwi bmJmIjoxNjMxNzEyOTYzLCJleHAiOjE2MzIzMTc3NjMsImlhdCI6MTYzMTcx Mjk2MywiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo1MTc3OC9yZXBvcnRpbmcv c2l0ZS9zaXRlOTEiLCJhdWQiOiJodHRwOi8vbG9jYWxob3N0OjUxNzc4L3Jl cG9ydGluZy9zaXRlL3NpdGU5MSJ9.d24190nn6i2UNz_8hX1mI0JZTNO9zPX 1HYSlGClkUyw |
| serverurl |
URL of the Bold Reports® On-Premises Edition server.
|
| reportServiceUrl |
Built-in service URL of the Bold Reports® On-Premises Edition.
|
| reportPath |
Path of the report that has been added to the server.
{/category name}/{report name} |
Can I load a report by its Guid?
Yes. The Bold Reports® Report Viewer can load a report by its Guid instead of its location.
You can also load the report using the Guid instead of report location. Set the Guid of the report in
reportPathas follows:reportPath: ‘91f24bf1-e537-4488-b19f-b37f77481d00’. You can use the Bold Reports® Server’s Get Items API to find the Guid of the report.
Where can I find platform-specific steps?
Bold Reports® Embedded Reporting Tools document Report Server report viewing for each platform. Use the following guides: