If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Copy conditional styling from one report to another.

Started by Ann, 03 May 2012 01:52:27 AM

Previous topic - Next topic

Ann

Is there some ways to copy conditional styling from one report to another?

blom0344

No.. Conditional styling generates a host of entries within the report XML, a bit more complex than the action of copying datacontainers or queries across.  Just for fun we once tried to hack the XML to simulate copying conditional logic. Nasty business as the xml needs to be adjusted in several places..

Ann

When we apply conditional styling, where does this gets stored and in what format?

blom0344

It is part of the report xml.  Everything about the report is stored in xml format

Robert Kostecki

I've encountered this challenge in C10.1 today. I needed to copy 55 conditional styles between two reports.

Here is the way to do it:

1. In the source report: Open menu Tool->Manage Conditional Styles
2. Select Styles press Ctrl-C
3. In the destination report: Open menu Tool->Manage Conditional Styles
4. Press Ctrl-V

Hope this helps.

Kind regards,
Rob

cognostechie

Amazing ! Does this mean that the source and destination report need to have the same layout?

Kurt Teal


mayank_sanghvi

Quote from: cognostechie on 30 Jun 2014 02:12:45 PM
Amazing ! Does this mean that the source and destination report need to have the same layout?

I don't think so. I tried the same between one of my report with lots of stuff and a blank report.
I copied condition style from my main report and past it in a blank report.