Cognos Analytics

Cognos Analytics

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

 View Only
  • 1.  Customize Theme - seems hit or miss

    Posted 21 hours ago

    I'm trying to customize our Cognos Analytics Theme and it all seems a bit hit or miss
    Is there a particular requirement for FAVICON size and/or naming conventions and/or file type?

    Is there a particular requirement for BRANDICON size and/or naming conventions and/or file type?

    Is there a particular requirement for BRANDTEXT (min/max size?)

    On the homepage sometimes the BRANDICON and BRANDTEXT are displayed and sometimes they are not

    I have all of the above working in one form or another, but not consistently in any one theme.  If anyone can offer any advise it would be much appreciated, thanks



    ------------------------------
    Bobby Davison
    ------------------------------


  • 2.  RE: Customize Theme - seems hit or miss

    Posted 6 hours ago

    Hi Bobby,

    You will need to create an extension that you will install for Manage / Customization / Themes.

    You want create a theme available for all users or a specfic theme for a role.

    Each release (v11.2, v12.0 or v12.1), you will need to update your theme because the default home page is not always the same.

    Here is a sample with spec.json:

    {
    "name": "ThemeCompanyName",
    "schemaVersion": "3.0",
    "brandText": " ",
    "brandTextSmall": "CompanyName",
    "images": {
    "brandIcon": "images/Logo_CompanyName.png",
    "favicon": "images/favicon.png"
    },
    "paletteId": "IBM_Modern",
    "uiShellTheme": "light",
    "colors": {
    "appbarBackground": "#3e0d81"
    }
    }
    Depending on your screen resolution, some information might not be displayed.
    Feel free to contact me if I can help you.
    Best regards,


    ------------------------------
    Patrick Neveu
    BSL Consulting
    IBM Champion
    ------------------------------



  • 3.  RE: Customize Theme - seems hit or miss

    Posted 4 hours ago

    Thanks Patrick, yes I'm generating my own theme based on exporting one of the default themes.  My screen resolution is set quite high but seeing inconsistencies with the display of brand icon and brand text. In some versions of my theme its displaying the brand icon and in some it is not, even though its the same png file.  Sometimes I increase or reduce the characters in the brand text and it doesn't get displayed.  I notice when zooming my screen that brand text is wrapped when it would otherwise extend beyond the centre of the screen so perhaps screen resolution is a factor.



    ------------------------------
    Bobby Davison
    ------------------------------