Cognos Analytics

Cognos Analytics

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

 View Only
  • 1.  Cognos 11.2.4 UI Changes

    Posted Tue April 09, 2024 04:36 PM
    Edited by Todd Schuman Wed April 10, 2024 08:06 AM

    I'm trying to make some changes to the default UI in Cognos 11.2.4.  Here are the areas, that I can't seem to figure out.  Any help would be greatly appreciated!

    1) Recent Button on the Hamburger Menu lost the Report Path and Quick Launch ability from 11.1.7.  Is it possible to bring this back?  11.2.4 just has the option to remove from recent.  Can this be modified to use the 11.1.7 UI?

    2) The Content Page has a tab for Samples.  Can this be removed?  I don't see it listed in the Customization page for User Roles.  Is there an extension or advanced setting to disable it?

    Thanks!

    Todd



    ------------------------------
    Todd Schuman
    ------------------------------



  • 2.  RE: Cognos 11.2.4 UI Changes

    Posted Wed April 10, 2024 09:10 AM

    Hi Todd.  While there's no way to show report paths, there are many places you can add launch options.  Custom buttons and custom quick launch tiles are 2 good options.

    You can hide the samples using role feature customization.  Go to a role's properties, Customization / Features and search for 'Samples' at the top.

    -Tim



    ------------------------------
    Tim
    ------------------------------



  • 3.  RE: Cognos 11.2.4 UI Changes

    Posted Thu April 11, 2024 04:46 AM

    In addition to Tim's suggestion to use customization, you could also use extensions to hide the samples tab.

    {
    	"name": "hideSamples",
    	"schemaVersion": "1.0",
    	"extensions": [{
    		"perspective":"content",
    		"features": [{
    			"id": "hideSamplesTab",
          "environment": {"groupsAndRoles": [":Consumers"]},
    			"excludeItems": ["com.ibm.bi.content.navigator.samples"]
    		}]
    	}]
    }

    Save that as spec.json, zip it, and then upload it as an extension. 

    It will hide the samples tab specifically for anyone with the Consumers role. You can have it hide for everyone by simply removing the environment object.

    The question about the recent menu changes is something I've put a lot of effort into. 

    You can write an extension to add the actions menu back in, and even quick buttons. Since I've built this for PMsquare I can't share the code but this is essentially what I did: The Recents menu is constructed using React. You need to write an extension that will first overwrite the function the recents module use to build the react and replace it with your own. What I still haven't figured out is how to keep the menu open when the user clicks on the actions button. For the quick buttons, you'll need to check the type of object (you can edit reports, but not report views) and if the user has permission to use that tool (consumers shouldn't edit reports). 

    In total it probably took me around 60 hours to figure out. 



    ------------------------------
    Paul Mendelson
    ------------------------------



  • 4.  RE: Cognos 11.2.4 UI Changes

    Posted Thu April 11, 2024 05:14 AM

    Hi Paul,

    will the modified "Recent menu" be part of the premium version of CogBox?



    ------------------------------
    Robert Dostal
    Team Leader BI
    GEMÜ Gebr. Müller Apparatebau GmbH & Co. KG
    Ingelfingen
    ------------------------------



  • 5.  RE: Cognos 11.2.4 UI Changes

    Posted Thu April 11, 2024 06:10 AM

    It is! So is the shortcuts menu.

    I just noticed there's a bug with the shortcuts - it should be showing the path of the shortcut target, not the actual path. whoops. 

    I'm planning on deprecating the shortcuts menu for 12.2 since there's an internal favorites system. I just need to figure out the best way to do it.



    ------------------------------
    Paul Mendelson
    ------------------------------



  • 6.  RE: Cognos 11.2.4 UI Changes

    Posted Thu April 11, 2024 07:44 AM

    Thanks Tim and Paul.  They both worked, but I would personally prefer to use a global extension, so I don't have to customize multiple roles and repeat in multiple environments.  I do see the need for this level of granularity, but for something like samples, I don't want that to be seen by anyone, especially in Production.

    For the recent menu, I appreciate you taking on this task.  It looks really good so far and is a much-needed feature that was lost from 11.1.7.   This would be a good item to add to the list of features for a "perfect" Cognos Analytics!



    ------------------------------
    Todd Schuman
    ------------------------------