IBM Support

Select and Search prompt box is too small for content in Cognos Analytics

Troubleshooting


Problem

In a report that run in the non-interactive viewer with Run with full interactivity set to No that contains a Search and Select prompt with values that have more text than can fit in the width of the prompt, the user cannot see the whole value.

 
select and search error

Resolving The Problem

To address this issue in Cognos Analytics 11.x follow these steps:
  1. In the Cognos install directory, navigate to analytics/webcontent/skins/corporate/portal
  2. Locate the file named Default.css, and make a backup copy to restore if required.
  3. Edit this as an administrator with a text editor
  4. Locate the expression that reads:
    select {
        font-size: 9pt;
    }
  5. Add min-width and width so that it now reads:
    select {
        font-size: 9pt;
        min-width: 200px !important;
        width: auto !important;
    }
  6. Save this file
  7. Test the report again, you may need to clear browsing data to see the changes take effect.
Note: Be sure to test this thoroughly in a non-production environment first. Users make changes to installation files at their own risk, there is no technical support for this solution and should be employed with this in mind if any adverse outcomes are experienced.

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"Component":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"11.x","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
30 January 2023

UID

ibm10875294