Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Link to CSS File

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Link to CSS File
 Login/Join
 
Member
posted
We are trying to link to a CSS file that will be used for all of our future reports. We have tried following the instructions by placing it into the baseapps folder and also the bin folder and cannot get it to link.

Also, I've noticed that when I type in the LINK code, DeveloperStudio always adds the UserSuppliedFullPath="1". What is this and what does it accomplish. Thank you!

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


WebFOCUS 7.7.03
Windows, All Outputs
 
Posts: 10 | Registered: October 06, 2011Report This Post
Guru
posted Hide Post
Search for CSSURL. You may need to provide the full url or just the name of the css file in your application folder. I think this depends on your environment.


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
 
Posts: 320 | Location: Memphis, TN | Registered: February 12, 2008Report This Post
Member
posted Hide Post
Maybe we are just over complicating all of this, but we cannot get anything to work. The only time we can get the CSS to work is by placing it in the Other folder within the individual project folder. This will not work as we are trying to establish a master CSS file that will be referenced by multiple files in multiple folders.

So I tried the CSSURL...I assumed the SET CSSURL goes in the but it keeps moving itself into the which basically is just throwing text onto the screen.

Like I said, we're probably overlooking such a small step, but we've spent many many hours trying to make this work with no success.


WebFOCUS 7.7.03
Windows, All Outputs
 
Posts: 10 | Registered: October 06, 2011Report This Post
Guru
posted Hide Post
How about placing the CSS file on on a web server that WebFOCUS can access.
  
SET CSSURL = http://webserver/stylesheets/my_css.css

TABLE FILE CAR
PRINT 
     COUNTRY
     CAR
     MODEL
ON TABLE PCHOLD FORMAT HTML
END


Look at the view source.


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
 
Posts: 320 | Location: Memphis, TN | Registered: February 12, 2008Report This Post
Expert
posted Hide Post
Also, do you want a CSS file for the parameter screens, as designed in HTML Composer? That CSSURL will not work.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
quote:
keeps moving itself
sounds like you're using the GUI Report Painter.

You can point-and-click your way to the CSS stylesheet. Report > Styling... > Style File Selection > External Cascading StyleSheet URL.

I typed baseapp/style1.css (I'm not sure if this is the correct syntax) and this piece of code was generated:

ON TABLE SET CSSURL 'baseapp/style1.css'


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Virtuoso
posted Hide Post
A style sheet is applied by the browser. The URL should be just that ... a URL.

e.g. ON TABLE SET CSSURL 'http://localhost:8080/approot/baseapp/sample.css'

For the layout painter, there are steps to ensure the css is not moved or messed with.


"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
 
Posts: 1102 | Location: Toronto, Ontario | Registered: May 26, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Link to CSS File

Copyright © 1996-2020 Information Builders