The Bold Reports Server provides a build-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.
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-Premise server.
|
reportServiceUrl |
Built-in service URL of the Bold Reports On-Premise.
|
reportPath |
Path of the report that has been added to the server.
{/category name}/{report name} |
You can also load the report using the Guid instead of report location. Set the Guid of the report in
reportPath
as follows:reportPath: ‘91f24bf1-e537-4488-b19f-b37f77481d00’
. You can utilize the Bold Reports Server’s Get Items API to find the Guid of the report.
You can get more details about embedding with the respective platforms of Bold Reporting Tools as follows.