objectExist() Method
In CatalogService, use the objectExist() method to determine whether an object exists in the catalog.
Signature
boolean objectExist(String reportObjectAbsolutePath, String userID, String password);
Parameters for objectExist() Method
Parameter | Description |
---|---|
String reportObjectAbsolutePath |
The path to the object to test for in the catalog. In the online report viewer or when you edit the report, if the path in the URL is /HR Manager/Employee%20Reports/Employee%20Data%20Model.xdm, replace the encoded characters with the corresponding ASCII character to get the correct absolute path of the report. For example: /HR Manager/Employee Reports/Employee Data Model.xdm. |
String userID |
Specifies the user name. |
String password |
Specifies the password for the user name. |