COGNOiSe.com - The IBM Cognos Community

IBM Cognos Analytics Platform => Cognos Analytics => Reporting => Topic started by: seb24c on 27 Jul 2020 02:08:39 PM

Title: Prompt style classes (Global Class Extensions)
Post by: seb24c on 27 Jul 2020 02:08:39 PM
Does anyone know what Global Class Extension "Prompt control options (combo box)" affects? Searching has turned up nothing useful. There are a few mentions of "combo box" prompts in various message boards but I can't tell if that's the correct terminology, or just what the user calls the (different) prompt.

I updated that class and tested every type of prompt available in Cognos (version 11.0.12), and it didn't appear to change anything. If anyone has any ideas, I would be grateful!
Title: Re: Prompt style classes (Global Class Extensions)
Post by: dougp on 27 Jul 2020 02:55:31 PM
A little context, perhaps?  Where do you see "Prompt control options (combo box)"?  Do you mean the class named "po" in <install_location>\webcontent\schemas\GlobalReportStyles_11.4.css?

How did you test?  If you add all prompts with all options (multi-select, multi-line, select ui, etc.) to a prompt page, then you run the report and inspect the resulting prompt page in the web design tools in the browser, looking for class="po".

I would expect a combo box to be a value prompt or select & search prompt, although I have never seen a combo box as a prompt in Cognos.  (user can choose from a list or enter their own value)  Maybe this is part of the built-in Filter Condition dialog.
Title: Re: Prompt style classes (Global Class Extensions)
Post by: seb24c on 27 Jul 2020 03:18:45 PM
Yes, it should be that class "po" but I was accessing it from within the reporting tool: in the Classes area, under Global Class Extensions. See attached image.

I added all prompts (and variations) to a prompt page and modified that class with a lime green background. Nothing visually changed, so I checked the source and found no references to the "po" class.

It seems like it might be leftover from a past version of Cognos, as like you I've never seen a true combo box option. I'm mostly just curious what, if anything, it does.