We are running UIM 20.3.3 and have created a custom report with "ad hoc view" and saved it in a new folder (under public/ca/uim/reports/library/ in Repository) (as desccribed in UIM - Add a CABI Custom Reports to Operator Console (broadcom.com) However, when running it from OC, I got the below error:
Server Error. There was an error on the server. Try again or contact site administrators. (Error UID: f43ab919-bf56-41b7-b9f6-50686a5f39a8)
Reports work fine with Superuser from CABIjs directly.
Reports fail from CABijs directly with other UIm users, impersonated in CABIjs.
Reports fail from OC with the same error.
Release : 20.3
Component : UIM - CABI
The report is failing to be run by a UIM user because the report was created using the superuser account and not a UIM user. error: (com.jaspersoft.jasperserver.multipleTenancy.MTResourceNotVisibleException: You may not access resources which do not belong to your organization.)
The Superuser, if logged into CABI is able to run the custom report, while other users receive the error above mentioned because the report is created with superuser and it creates an organization mismatch.
To resolve this issue, the reports must be created again by a UIM user properly logged in to CABI, and not using the cabijs superuser/superuser.
It is possible to create a custom cabi report in 2 ways:
1. with a UIM user by logging into cabijs directly with the UIM user:
Browse to http(s)://<cabi_server>/cabijs > enter UIM in organization and use UIM user username and password.
If getting invalid credentials see: UIM - CABI invalid credentials supplied: could not login to CA Business Intelligence (broadcom.com)
2. Or via OC/reports > Create custom reports.