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

 

Globalstyle sheet changes are not taking place on the server for reports

Started by jayesh.deshpande, 12 Jul 2012 01:50:01 AM

Previous topic - Next topic

jayesh.deshpande

Hi,

Globalstyle sheet changes are not taking place on the server for reports.  We created external style sheet which only applies to HTML output and it works for HTML but not for any other output (Eg. PDF).

We started out creating a small style sheet that was deployed under our Apache Webserver.  This style sheet overrode the cognos styles and worked wonderfully.  The only drawback is that we could not apply any styles to the PDF or other outputs in this way. 

So we decided to change the style sheets inside of cognos.  These are all the same but are in for different places and we (think) we have to change them in all 4 places. 

The style sheet we changed is GlobalReportStyles_10.css

This is located in:

E:\Program Files\IBM\Cognos\reportstyles
And
E:\Program Files\IBM\Cognos\bin (we are told it uses this one for PDF)
And
E:\Program Files\IBM\Cognos\webcontent\reportstyles
And
E:\Program Files\IBM\Cognos\webcontent\schemas

Now in the last directory there is another style sheet called:

GlobalReportStyles_10_NS.css

It does NOT have the same format as the first 4.  We were told to also change this one. 

After changing these style sheets and restarting the server we have not been able to apply them to the reports. 

Not sure if this problem should go under Report Studio or SDK. So I have posted it to Report Studio.

bpothier

hi there,
When we made our changes we had to make a complete new template to get it to work.

We did everything you did (except we did not change the global css file that contains the NS)

We also modified the following files in the location cognos\webcontent\pat\res
resources.xml - this is where you add an entry to name your new template
example -   <listItem label="CUSTOM" icon="icon_chart.gif" templateName="CUSTOM" />
query for IDS_LBL_NEW_BLANK_REPORT and add the new line under this one

templates.xml - is the whole set up of the template
I attached a sample of what we did

what changes did you make to the global css file?


Rahul Ganguli


bpothier

sorry - I was out on vacation

We have all of our components loaded on one server