Cognos Analytics

Cognos Analytics

Connect, learn, and share with thousands of IBM Cognos Analytics users! 

 View Only
  • 1.  Content Store Query to fetch group/role wise reports

    Posted Tue November 07, 2023 08:42 AM

    Hi,

    I want to fetch list of all Reports/Dashboards along with groups/roles that has permission to view the report.

    Can someone help me with the Content store tables/ query to fetch these result set.

    Thanks,

    Vaibhav



    ------------------------------
    Vaibhav
    ------------------------------


  • 2.  RE: Content Store Query to fetch group/role wise reports

    Posted Wed November 08, 2023 11:18 AM

    I do not know how to do it though the database tables.  

    MetaManager can get you this information by searching for //report in the search bar and documenting the account security.  You can see who has direct vs indirect access and direct vs indirect memberships to those reports or any object you want to drag and drop over in the Content Documenter UI.  You can export those result to Excel for easy filtering and sorting or go with a simple PDF or even a database export.  And if brave enough a Cognos Analytics report can be built off that database.  :)  



    ------------------------------
    Daryl Baker
    ------------------------------



  • 3.  RE: Content Store Query to fetch group/role wise reports

    Posted Thu November 09, 2023 08:29 AM
    Edited by brenda grossnickle Thu November 09, 2023 08:30 AM

    I know how to get a list of reports and probably dashboards (we don't use them). I thought that the only way to prevent someone who could view report1 from viewing report2 was through folder permissions. And maybe it wasn't view, maybe it was edit. Didn't think individual reports had permissions. 



    ------------------------------
    brenda grossnickle
    BI Programmer Analyst
    FIS
    ------------------------------



  • 4.  RE: Content Store Query to fetch group/role wise reports

    Posted Wed November 22, 2023 08:08 AM

    Hi,

    There is no way to do using SQL in Content Store, because the table field that stores this information is serialized, not plain text.

    But you can do using Cognos SDK.



    ------------------------------
    JEAM COELHO
    Cognos Solution Architect

    LinkedIn: https://www.linkedin.com/in/jeamcoelho/
    ------------------------------



  • 5.  RE: Content Store Query to fetch group/role wise reports

    Posted Fri November 24, 2023 03:25 AM

    Just in case you are still looking for a solution, you can try this sample tool to query the content store via SDK - QueryCAtool.

    Because the REST API is only using the object ID and not a serachPath I created a simple query tool to get the storeID value of an object, and also some other information like the permission (policies).

    The script is based on the trigger script that is provided by IBM (newer version from IBM Accelerator Catalog).

    You find the QueryCAtool (as-is and without any warranty) in folder ICALT-3.x of  https://ibm.box.com/v/ICALT-Public-Information 

    You only need to adjust the path for variable JAVA_HOME and LIBS_SDK in the script file QueryCAtool.sh



    ------------------------------
    Michael Haaß
    IBM
    Germany
    ------------------------------