COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Administration and Security => Topic started by: dougp on 06 Jan 2023 02:21:32 PM

Title: Custom Themes in 11.2.4
Post by: dougp on 06 Jan 2023 02:21:32 PM
I am using 11.1.7 in production.  I have a custom theme that includes...

...something I can't post here because this site doesn't like code blocks
It's HTML code containing a DIV containing an iFrame referencing an HTML file on the IIS server that hosts the gateway.


...in the spec.json file.  This works well.  I am able to manage the content of my Cognos welcome page to provide users updates regarding system problems, future upgrade schedules, support contacts, etc. without needing to regularly upload new content into Cognos.

Trying to use this in 11.2.4, I see that the brandText value is displayed literally.  It's text, not rendered as HTML.  It's useless.

How can I regain control of the welcome page?

I noticed that 11.2.4 was basically broken until I removed all of the customizations (themes and extensions) I use in 11.1.7.  I'm not finding details about what changed in Cognos or what I need to change in my customizations.  Can someone provide me a link to those docs?
Title: Re: Custom Themes in 11.2.4
Post by: dougp on 06 Jan 2023 02:56:34 PM
I may have figured this out.  It looks like I have been mixing themes and extensions when all I really needed was an extension.
Title: Re: Custom Themes in 11.2.4
Post by: sdf on 06 Feb 2023 01:21:44 PM
Quote...in the spec.json file.  This works well.  I am able to manage the content of my Cognos welcome page to provide users updates regarding system problems, future upgrade schedules, support contacts, etc. without needing to regularly upload new content into Cognos.

I'm curious what this looks like. So far using the Alerts Banner works fine for me for direct customer communications regarding updates/upgrades/issues. The only retention i received is that it gets annoying for some users to close the banner every time they log back in to cognos.



sdef
Title: Re: Custom Themes in 11.2.4
Post by: dougp on 07 Feb 2023 12:26:55 PM
It looks like a DIV containing an iFrame referencing an HTML file.

Regarding alerts:  During my initial adventure into 11.2.4, I noticed a way to disable the alert bar with regard to standard, built-in messages, and a way to display the alert bar given the existence of a maintenance message.  I think both of these were controlled by advanced properties ( Manage > Configuration > System > Advanced Settings ).  I can't find it now.
Title: Re: Custom Themes in 11.2.4
Post by: sdf on 08 Feb 2023 12:55:16 PM
Yep, i have been doing that. You can disable the WHat's New/Standard alert so that the first or the only message that will be displayed is your maintenance custom message. But the thing that annoys our customers is that they don't want the message to re-appear when they log out and log back in.



sdef
Title: Re: Custom Themes in 11.2.4
Post by: dougp on 09 Feb 2023 10:41:26 AM
Do you remember the keys and values for those settings?
Title: Re: Custom Themes in 11.2.4
Post by: sdf on 20 Mar 2023 09:33:32 AM
Glass.maintenanceMessage (for the custom message)
Glass.disableWhatsNewAlerts (Set to TRUE so the only message seen is the custom message)


sdf