Using SDK how can I automate the process of setting folders and reports to hidden ?
The attached sample checks if a report and/or folder is hidden. If they are not hidden, they are set to hidden and updated in Cognos Connection.
Note that you must change the endPointURL, nameSpaceID, userName, password, sFolderSearchpath and sReportSearchpath values to match your environment before compiling the code.
For those new to the SDK, please refer to the following document under IBM Cognos Software Development Kit documentation:
IBM Cognos Software Development Kit Getting Started.