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

Create Global prompt template / CSS stylesheet

Started by MDM, 23 Jan 2018 05:21:04 PM

Previous topic - Next topic

MDM

Hi All,

Every time a new report is created we create the prompt page from scratch.
If we change corporate colours we need to alter every prompt page colour scheme.

Is there a way to create a global prompt page css stylesheet for all prompts to use?
Ive played around with the promptcommon.css but this didn't seem to get the desired output.

Any help would be appreciated.

Thanks,
Nick

Stepharia

You could use layout components to achieve this.
Create a new report that sits in a central area that everyone who needs to run a report using this template can access.
In the new report add a Block item and name it something like CSS in the Properties
Add a HTML item inside the block and in that HTML item define your stylesheet within style tags.
Then with each report you can add a layout component reference item to the prompt page and set it's reference to the report and CSS block you created earlier.
Then when you need to change styles you just change it on that one template report and the other reports will refer to it.

MDM

Hi Stepharia & the community,

Firstly thanks for the reply :)

I have implemented this solution and it works perfect for the header!
Since it worked so well I've been asked to look at doing something similar to the footer as the theme will need to match the header.
Current reports use a local class for the footer and is re-created in every report. From what I can tell, there isn't a way to reference a local class from another report, which makes sense being 'local'?
Ideally I would love to be able to add a global class extension based on the local class...

Any ideas?

Thanks in advance!

-Nick