Hiding Crosstab row titles in Cognos 8.4

Since 8.3, the (Don't Print) global class still reserves a full width space for the title object, even if the text is not displayed. One method is to set 'Box Type' to 'None' but that can mess up alignment with the column headers if you have nested row levels to hide. Hopefully this will be fixed in the next version of Cognos. Workaround: 1. Click the column/row header and set the 'Source Type' property to 'Text'. This creates a null string so it measures zero length of space to reserve. 2. In Page Explorer, go to the 'Classes' 3. Create…
Read More
Calling Cognos reports with URL parameters and removing headers

Calling Cognos reports with URL parameters and removing headers

When building dashboards with jQuery objects, there may be issues calling the report within the Cognos Portal Pages 'Cognos Viewer' object. The workaround is to use the 'HTML Viewer' in a portal page. The HTML Viewer is actually an iFrame calling a new instance of Cognos and may require re-authentication. The method we ended up for inserting reports is as follows. 1. Create the target report for the dashboard/portal page. 2. In Cognos Connection, navigate to the report and click on Properties. 3. In the upper right hand corner Click on 'View the search path, ID and URL'. 4. In…
Read More
Add a custom chart palette to Cognos.

Add a custom chart palette to Cognos.

While Cognos does many things well, most people have different tastes in colors.  This article will walk you through creating and installing a custom chart palette.  This example is for general charts, but the principles can be applied to maps and gauges in the same XML files. Example Charts 'Before' and 'After' 1. Choose your colors. These colors are from the 'Barn' palette and others I found at Colour Lovers They have great palettes to get you started. 2. Edit ChartPalettes.xml In windows this file is found in: C:\Program Files\Cognos\c8\webcontent\pat\res 3. You can either create a new palette or just…
Read More