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 just converted from WebFocus 5.3 to 7.1.4 and the gif images in my report no longer display. I get red x's. I believe I simply do not have the path to the image designated correctly since the image is in the folder indicated in the path name and the gif's are not corrupted. I searched Focal Point and found several cases about getting gif images into reports and tried all sorts of variations on getting the path name right, but to no avail. I created a sample of the code using the CAR file and it shows the last thing I tried. And in case you're curious, what I had before that worked looked like this: RED_UP/A80='';
And approot was ibi/apps.
Thanks much!
SET PAGE-NUM=NOLEAD SET NODATA=''
DEFINE FILE CAR RED_UP/A80=''; GREEN_DOWN/A80=''; QUESTION/A80='?'; END
TABLE FILE CAR SUM DEALER_COST COMPUTE IMAGE/A120=IF DEALER_COST GT 10000 THEN RED_UP ELSE IF DEALER_COST LT 10000 THEN GREEN_DOWN ELSE QUESTION; AS '' BY COUNTRY BY CAR END
Data Migrator 5.3, 7.1, 7.6 WebFOCUS 7.1, 7.6, 7.7 SQL Server, Oracle, DB2 Windows
Oh, thank you! I was trying to figure out how to show the code and not have the red x's display. So let's try this again.
What I had that used to work:
RED_UP/A80='<img src=/approot/Cubes/RED_UP.GIF>';
And what I last tried:
SET PAGE-NUM=NOLEAD
SET NODATA=''
DEFINE FILE CAR
RED_UP/A80='<img src="http:\\localhost\ibi\apps\Cubes\RED_UP.GIF" >';
GREEN_DOWN/A80='<img src="http:\\localhost\ibi\apps\Cubes\GREEN_DOWN.GIF" >';
QUESTION/A80='?';
END
TABLE FILE CAR
SUM DEALER_COST
COMPUTE IMAGE/A120=IF DEALER_COST GT 10000 THEN RED_UP
ELSE IF DEALER_COST LT 10000 THEN GREEN_DOWN
ELSE QUESTION; AS ''
BY COUNTRY
BY CAR
END
Data Migrator 5.3, 7.1, 7.6 WebFOCUS 7.1, 7.6, 7.7 SQL Server, Oracle, DB2 Windows
The usual way to address an image in an app folder would be to use '/approot/Cubes/RED_UP.GIF'.
When you run the HTML report and get the red X, right click on it to view the image properties to check if the URL has been formed properly. The clue may be in there.
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
In this case, it's WF 7.1.4 on Windows XP Pro with IIS (don't know which version), and I too did not think case should make a difference and in this case it did. I put in my first entry for this post that I'd upgraded from WF 5.3 to 7.1.4 but did not include the platform. My apologies. I'd intentionally not updated my profile because my circumstances vary depending on the client I'm working for at the time. So that's what I put in my profile and will make sure I include all pertient info when I post in the future.
Thanks to all.
Data Migrator 5.3, 7.1, 7.6 WebFOCUS 7.1, 7.6, 7.7 SQL Server, Oracle, DB2 Windows
If the web server is Apache Tomcat, even though it may be running on a Windoze machine, it is case-sensitive - therefore it's a good idea to respect case for folders/files on any platform, just as a precaution.
Cheers.
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