COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: charon on 01 Dec 2011 09:46:05 AM

Title: Customize default "named colors"
Post by: charon on 01 Dec 2011 09:46:05 AM
Hi,

after making great experience with some awesome help in this forum, i like to ask for help for another
issue.  :P

I want to customize the default "named colors" of cognos report studio, which u see if you choose "foreground color" in the properties pane of a crosstab e.g.
Charts are customizeable, thats know. But i really want to edit these colors (/default, black, silver, gray, white, maroon ...etc.) for corporate identity.

Where can i find the xml files where these colors are defined and described? Again, i do NOT want to customize a chart color palette, but the default colors for text items, lists, crosstabs and everything else.

I am thankfull for every hint.
cheerz
charon  :)
Title: Re: Customize default "named colors"
Post by: charon on 02 Dec 2011 03:27:37 AM
For those who are interested in this topic..

ive found the code myself in : c10\templates\ps\logicsheets\presentation\controls\presentation.xml
about line 2000 <!-- Named colours and Helper Functions -->

HF customizing :)
cheerz charon
Title: Re: Customize default "named colors"
Post by: CognosPaul on 05 Dec 2011 03:29:24 AM
There's also a JS that controls the color picker.

..\webcontent\prompting\CColorPicker.js

There's a list of colors and HTML codes there, but I never got around to figuring out what controls which where.
Title: Re: Customize default "named colors"
Post by: charon on 05 Dec 2011 04:13:32 AM
Ah, great. Ty Paul, had some issues with adding a new color. Now i know why  ;D
I think it will work not the way i want it.

cheerz charon  :P
Title: Re: Customize default "named colors"
Post by: Yizi on 03 Dec 2013 03:46:32 AM
I managed to add a new colour but it's not showing up, is there any other changes need to be made? any other .XML file?