Topic
  • 2 replies
  • Latest Post - ‏2013-11-25T07:37:55Z by sophiaj
Gicy
Gicy
3 Posts

Pinned topic Using external CSS style sheet in Cognos doesn't work for PDF output

‏2013-07-11T00:40:54Z |

Hi,

I am trying to see how feasible it is to use external css file to apply styles in report studio. The reason I am not trying to customize GlobalReportStyles_10.css  is because of the upgrade impact and you also need to keep several copies of this css file in sync. So, if I could use my own css file located in a folder, let's say, ../mycss/mystyle.css

In Report studio, I can have an HTML tag that will refer this mystyle.css as show below:

<link type="text/css" href="
../mycss/mystyle.css" rel="Stylesheet" />

It works for HTML output but when I run for PDF/Excel output, the default Cognos CSS styles are applied. I even tried putting mystyle.css file under ../bin directory and restarting both web serer and Cognos server.

Has any of you been able to use external css files in Report Studio sucessfully for all html, pdf and excel report output?

Any help will be will appreciated.

Thanks.

 

 

  • sri_cog
    sri_cog
    1 Post

    Re: Using external CSS style sheet in Cognos doesn't work for PDF output

    ‏2013-10-24T22:49:04Z  

    Hi Gicy,

      Did you had a resolution on this.

  • sophiaj
    sophiaj
    1 Post

    Re: Using external CSS style sheet in Cognos doesn't work for PDF output

    ‏2013-11-25T07:37:55Z  

    Hi Gicy,

    Please explain how were you able to achieve this and did you had a chance for resolving it for PDF/Excel ouput format.

    Awaiting your reply.

    Thanks.