Cognos Analytics

 View Only
  • 1.  Home page customization to show team content tab

    Posted Tue March 28, 2023 10:03 AM

    Users have noticed that the view of the team content tab from the home page is different from the content view. Several actions are missing including the ability to create folders. Is there any way to force the home view tabs to be identical in functionality as the content view?



    ------------------------------
    Robert Hofstetter
    ------------------------------


  • 2.  RE: Home page customization to show team content tab

    IBM Champion
    Posted Wed March 29, 2023 11:36 AM

    Hi Robert,

    If you are using an extension, make sure to define what you want to see in the toolbar with the following code in your spec.json file:

    "toolbar": [
    						"filter",
    						"sort",
    						"addFolder",
    						"addLink",
    						"details",
    						"refresh",
    						"settings"
    					],

    Best regards,



    ------------------------------
    Patrick Neveu
    Positive Thinking Company
    IBM Champion
    ------------------------------



  • 3.  RE: Home page customization to show team content tab

    Posted Fri March 31, 2023 10:00 AM

    I'm using the Home page tab extension and don't see those options in the example. Would the toolbar options go in the properties array?

    {
    "name": "CustomizedTab",
    "extensions": [
    {
    "perspective": "home",
    "features": [
    {
    "id": "com.ibm.caHome.customizedTabFeature",
    "collectionItems": [
    {
    "containerId": "com.ibm.bi.caHome.navigator",
    "id": "com.ibm.bi.caHome.navigator.customizedTab",
    "name": "customizedTab",
    "label": "Today's News",
    "weight": 600,
    "module": "v1/ext/CustomizedTab/js/CustomizedTabView",
    "properties": {}
    },...

    https://community.ibm.com/community/user/businessanalytics/blogs/tim-aston1/2021/04/06/customizing-the-cognos-analytics-112-home-page



    ------------------------------
    Robert Hofstetter
    ------------------------------



  • 4.  RE: Home page customization to show team content tab

    IBM Champion
    Posted Mon April 03, 2023 11:53 AM

    Hi Robert,

    Sorry for the delay...

    It should be located in the following property area. So you should replace

    properties": {}

    with :

    "properties": {
    					"path": ".public_folders/Get started",
    					"toolbar": [
    						"filter",
    						"sort",
    						"addFolder",
    						"addLink",
    						"details",
    						"refresh",
    						"settings"
    					],
    					"listOptions": true
    				}


    Best regards,



    ------------------------------
    Patrick Neveu
    Positive Thinking Company
    IBM Champion
    ------------------------------



  • 5.  RE: Home page customization to show team content tab

    Posted Fri July 14, 2023 01:34 PM

    Thank you for this, Patrick. Very helpful.  I noticed that the details icon on the toolbar still doesn't show. Any other place/s I should check?



    ------------------------------
    Rochelyn Sy
    ------------------------------



  • 6.  RE: Home page customization to show team content tab

    Posted Mon July 17, 2023 02:09 AM

    As far as I saw the "detail" icon is only at top level (Teamcontent) and for all other folders the icon at that position switch to "addLink" option.

    To see the details for Teamcontent by clicking the icon details you need to use the default way (Hamburger > Content) path. It seems using this detail icon is the only way to get the properties for Teamcontent (to, for example, modify the permission at top level).




  • 7.  RE: Home page customization to show team content tab

    IBM Champion
    Posted Mon July 17, 2023 08:23 AM

    It took some digging and tracing, but I figured it out. There's a hardcoded filter in the javascript that generates details button. If you build an extension to show contents, and want to show the details button, you have to add "stateId": "TeamFoldersView" to the spec.json.

          {
            "containerId": "com.ibm.bi.caHome.navigator",
            "id": "com.ibm.bi.caHome.navigator.salesFolder",
            "name": "SalesTab",
            "label": "Sales Folder",
            "stateId": "TeamFoldersView",
    				"weight": 450,
            "actionController":"ca-content/bridge/content/ContentPageView",
            "properties": {
              "path": ".public_folders/sales",
              "toolbar": [
                "filter",
    						"sort",
    						"addFolder",
    						"addLink",
    						"details",
    						"refresh",
    						"settings"
              ],
             "listOptions": true
            }
          }


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



  • 8.  RE: Home page customization to show team content tab

    Posted Mon July 17, 2023 09:05 AM

    Thank you, Paul! It takes a genius like you to figure this out! 



    ------------------------------
    Rochelyn Sy
    ------------------------------



  • 9.  RE: Home page customization to show team content tab

    Posted Mon July 17, 2023 09:05 AM

    Thank you, Michael, for looking into this.



    ------------------------------
    Rochelyn Sy
    ------------------------------