We are new to Cognos - never heard of Cogbox. Using the dev tools and the command, I can see 4 of the 6 parameters. But I do not see the parameters listed for the GL Accounts. The dropdown is on the screen and it is populated with data. It may be easier just to delete and recreate the prompts?
Original Message:
Sent: Thu January 23, 2025 05:01 AM
From: Paul Mendelson
Subject: Getting Prompted Twice
Do you have CogBox installed? If so, on that page can you open the edit parameters screen and paste in a screenshot? It should show the active parameters at that point.
If you don't, open the browser's developer toolbar and paste this in:
__glassAppController.glassContext.getCurrentContentView().getAuthoringApplication().GetParameterValues().map(x=>{x.value.map((y,z)=>{console.log("Parameter Name: " + x.name + " - use value " + z + ": " + y.use + " - display value: " + y.display)})})
It will show all of the active parameters.

One idea does come to mind though, is it possible that the selected GL Accounts don't appear in the dropdowns? Or maybe the data types don't match? If the prompt is defined as a prompt alias (e.g. [Acct] >= ?pFromAcct?) there are some validations that are performed on the selected values.
------------------------------
Paul Mendelson Product Manager
Product Manager
PMsquare
Original Message:
Sent: Wed January 22, 2025 05:02 PM
From: Greg Wilburn
Subject: Getting Prompted Twice
Cognos 12.x
I took an existing report that prompts for:
Company, Year, From Period, To Period, From GL Account and To GL Account (all required)
I changed the two GL Account prompts to Cascading dropdowns (Company is the parent). All was fine.
I then used an expression to provide default values to the Year, From and To periods.
When a user runs the report and clicks the "Finish" button, they are prompted for the From and To GL Accounts again.
No idea why?


------------------------------
Greg Wilburn
Director of IT
Total Biz Fulfillment
Grantsville MD
------------------------------