Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

CSS external styles can not be used in RTC for deployed RPE report

Hello!

I'm trying to investigate how custom CSS styles could be added to elements of Rational Publishing Engine (v6.0.5) report deployed to Rational Team Concert (v6.0.5). I'm following next info:


I have created a very simple sample with one element with "MyStyle" style defined:
- test.dta
template

Created DSX file where HTML output contains "Stylesheet test.css" value.
Content of test.css is:

.MyStyle {
font-size: 48.0pt;
color: red;
}

It works nice from RPE Document Studio:
Result in RPE Document Studio

Next, I'm trying deploy it to RTC as a report resource:
Deployed to RTC

Result:
Result in RTC

I don't see any styles applied!
What can be wrong?
Thank you very much for any help!

0 votes


Accepted answer

Permanent link
Hi,

There is a known defect RRDG report losing css from generated html, which is fixed in 6.0.5 iFix003.

 Also please check the following for the stylesheet to work:
1. In the document specification, "Stylesheet" property contains only the file name (without any path).

2. When you create the Report Resource, after uploading the .dta file, attach test.css file first and then attach the .dsx file.
Dmitry A. Lesin selected this answer as the correct answer

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,014
× 481
× 332

Question asked: Sep 06 '18, 3:16 p.m.

Question was seen: 2,493 times

Last updated: Sep 07 '18, 2:44 a.m.

Confirmation Cancel Confirm