COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => Report Studio => Topic started by: bucky on 13 May 2009 01:24:09 PM

Title: best practice for using classes/styles
Post by: bucky on 13 May 2009 01:24:09 PM
I would like to use the best practice for setting classes/styles so that in the future I can make a style change in one location, and it would automatically be reflected in all the reports. I don't think I want to use the global classes because I only want the styles to be applied to a set of reports in a subfolder.

Could I use a local class, then apply the local class to the reports I want?

Or could I use global classes, but create new entries with a different prefix (e.g. "Sales Report - List Column Body Cell"). That way it would not affect the "List Column Body Cell" global class.

(And if makes a difference, these reports will be output in Excel format.)
Title: Re: best practice for using classes/styles
Post by: blom0344 on 13 May 2009 03:25:52 PM
We have added our own styles to the GlobalReportStyles.css file with good results. The only thing is that it is required to make sure that you copy the most recent version to the 2 locations in the Cognos installation folders where they reside.
Just adding classes to the original .css file is okay!