How to auto-submit with cascading prompts

When a series of cascading prompts are all required prompts for a data container (list, crosstab etc) then that container can't display anything until all the parameters are populated and submitted. This is not desirable when the cascading prompts are on the same page as the data container.

A default value can be specified for the first prompt in the cascade, but since that affects what choices are available for the subsequent prompts defaults for them can not be defined in the same way.

Resolving the problem

Note: This technique uses JavaScript against underlying report objects in a Cognos BI report. For this reason, there is no guarantee that reports created using this technique will migrate or upgrade successfully to future versions without requiring modifications. Any such modifications are the responsibility of the report designer.
Using Javascript, the subsequent prompts can be set to default to the first value in the filtered list of values. To accomplish this, do the following:

Comments

Popular posts from this blog

RSV-VAL-0032 expression is not valid. If the item exists in a query but is not referenced in the layout, add it to a property list. CRX-API-0005 An error ocurred at or near the position '0'.

How can you extract all user information from Cognos Access Manager Namespace Report Utility and create Cognos Report out of it?

BME-EX-0047 Unable to read preferences for the requested interface..