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.
I am tweaking the Custom CSS for my team in order for it to load the same banner image for each portal they create. I am trying to achieve a "Add this CSS file and build your portal so all teams' look the same.
I am trying to target an image to use for the background, but I can't get it to populate using the path given in the image's properties tab. which is (IBFS:/WFC/Repository/Public/header_dg.jpg)
Is there a way to find out where this physically lives on the repository or can I (ideally) write the CSS to include that image right from AppStudio?This message has been edited. Last edited by: FP Mod Chuck,
John Coleman WEBFocus 8.1.05 Windows 7
Posts: 20 | Location: Rensselaer, NY | Registered: May 20, 2016
The Repository is from a DB, so it's not a "real" path.
quote:
but I can't get it to populate using the path given in the image's properties tab
Does the image (and the folder) is "Published" and is accessible by your WF security model ?
quote:
can I (ideally) write the CSS to include that image right from AppStudio
I'm not sure that you can include an image in a CSS if the image reside only in the Repository. You may need to have the image on the Reporting Server instead.
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
Thanks for clearing that up some. The more I work with this tool the more I feel I am finding I need to re-learn.
The image and Folder are published and accessible to me, actually its open to all developers.
So, in order to make sure I understand you, let me repeat it back. I have to find the physical address of the image on the reporting server in order to have the css pull it when it loads?
Thanks for your time.
John Coleman WEBFocus 8.1.05 Windows 7
Posts: 20 | Location: Rensselaer, NY | Registered: May 20, 2016
As Martin mentioned, you cannot reference an image that is in the Repository - there is no physical location for any resource in the Repository - they're stored as BLOBs in a database table.
Unfortunately, App Studio is not friendly to the "Web Applications" area of WebFOCUS content (approot) - it's not easy to manipulate resources there, it's preferable to access it via Windows Explorer.
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
EDASERVE is the reporting server where test1 is a folder in the application path.
You need to specify the web server, with the simple path "/approot/app1/image1.jpg".
Sometimes, if you're in a single tier environment, the web server approot folders can be the same as the reporting server application folders, but the web reference will still be "/approot/app1/image1.jpg".
The easiest way to verify that you're using the correct reference in your CSS file is to try it as a URL in your web browser. It would be something like this:
http://your-web-server/approot/app1/image1.jpg
You may need to include a port number if that's how you access your WF application.
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