Focal Point
[SOLVED] WebFocus Internal CSS

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/9797070196

January 30, 2019, 11:51 AM
Gagan Marwah
[SOLVED] WebFocus Internal CSS
Hello,

I created an external CSS which I have it linked to the WebFOCUS code (see below). The code works just fine, but the issue remains with the access. Not everyone has access to the server where the external CSS file is located, which is why I am forced to change it to internal CSS.

Can you help me or direct me to documentation which shows how to include internal css within WebFOCUS code?


External CSS:

TYPE=REPORT, CSSURL=file://ibi/srv81/home/etc/DashBoardStyleSheet.css,$
TYPE=TABHEADING, LINE=1, ITEM=1, OBJECT=TEXT, CLASS=tabHeading, $
TYPE=TITLE, COLUMN=N2, CLASS=columnHeading, $
TYPE=TITLE, COLUMN=N1, CLASS=columnHeading, $


Thank you,
Gagan

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
January 30, 2019, 12:24 PM
BabakNYC
I haven't tried this but would it be more accessible in the Domain repository?


WebFOCUS 8206, Unix, Windows
January 30, 2019, 12:55 PM
Gagan Marwah
We tried to do it but it did not work. Which is why I am inclined to use Internal CSS


WebFOCUS 8
Windows, All Outputs
January 30, 2019, 06:35 PM
Hallway
Just put the css file in the baseapp folder, or any app folder that the domain is mapped to. You just need to reference it like so:

Before the table request:
 
SET CSSURL = /approot/baseapp/style.css

TABLE FILE car
SUM SALES
BY CAR 
BY COUNTRY 
END

OR in the table request

TABLE FILE car
SUM SALES
BY CAR 
BY COUNTRY 
ON TABLE SET CSSURL /approot/baseapp/style.css
END

This message has been edited. Last edited by: Hallway,


Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs: