Bold Report Server provides build-in Restful API to embed Report Server reports using the Bold Reporting Tools Report Viewer. For this, set the serviceAuthorizationToken
, serverurl
, reportServiceUrl
and reportPath
property for Report Viewer.
Report Viewer Property | Value |
---|---|
serviceAuthorizationToken |
Pass the access token of the user. Get access token using the Bold Reports Server Authentication API.
bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InN1 YmhhLnN1a3VtYXJhbkBzeW5jZnVzaW9uLmNvbSIsIm5hbWVpZCI6IjEiLCJ1 bmlxdWVfbmFtZSI6ImM0NWFiZmE0LTBlNjAtNGI4Yy04NWM4LWMxNTBiOGJh MjlkNyIsIklQIjoiOjoxIiwiaXNzdWVkX2RhdGUiOiIxNjMxNzEyOTYzIiwi bmJmIjoxNjMxNzEyOTYzLCJleHAiOjE2MzIzMTc3NjMsImlhdCI6MTYzMTcx Mjk2MywiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo1MTc3OC9yZXBvcnRpbmcv c2l0ZS9zaXRlOTEiLCJhdWQiOiJodHRwOi8vbG9jYWxob3N0OjUxNzc4L3Jl cG9ydGluZy9zaXRlL3NpdGU5MSJ9.d24190nn6i2UNz_8hX1mI0JZTNO9zPX 1HYSlGClkUyw |
serverurl | Bold Reports On-Premise server URL. |
reportServiceUrl | Bold Reports On-Premise built-in service URL. |
reportPath |
Path of report, which is added on 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 like asreportPath: ‘91f24bf1-e537-4488-b19f-b37f77481d00’
. You can use Bold Report Server Get Items API and find the Guid of the report.
You can get more details of embedding with Bold Reporting Tools respective platforms as follows.