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'm new to WEBFOCUS. I know there's been a lot of discussion on this subject, but I can't seem to find any recent threads. I need to build a report with multiple conditionally embedded icons (checkmark, warning sign, thumbs up, etc) based on performance metrics. What is the easiest/most efficient way to do this? A lot of mention of BLOB files, but are they limited to GIF and JPEG? Were there any enhancements with 8.0 v08 that make this easier? Thanks!This message has been edited. Last edited by: <Kathryn Henning>,
Example of displaying a performance indicator image, within a HTML report:
-* File perfindicators.fex
APP PREPENDPATH IBISAMP
TABLE FILE GGSALES
SUM DOLLARS/I9C
COMPUTE PERF_IND/A300 = IF DOLLARS GT 3900000 THEN
'<img src="/approot/work/ThumbsUp.png" alt="Nice Job!" />'
ELSE
'<img src="/approot/work/ThumbsDown.png" alt="Try harder!" />'; AS ''
BY ST
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE OFF
ON TABLE SET STYLE *
INCLUDE = ENInformationBuilders_Light1, $
ENDSTYLE
END
The images are limited to GIF, JPEG and PNG, as that's what web browsers guarantee to understand. You can also embed SVG images, but that's a bit more involved and is not supported on all browsers.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
What browser version do you have? We are in the middle of going from IE8 to IE11 and the alt are no longer working and IB says they will not be fixing it. They say ALT is obsolete now.
WebFocus 8.1.5 iSeries/Windows DB2/SQL/Access Dev Studio App Studio Maintain ReportCaster
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011
You're supposed to use the title attribute for those messages. The alt-attribute is for browsers that can't display images.
WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010 : Member of User Group Benelux :
Example of displaying a performance indicator image (with a rollover) within a HTML report:
-* File perfindicators.fex
APP PREPENDPATH IBISAMP
TABLE FILE GGSALES
"Sales with KPI"
SUM DOLLARS/I9C
COMPUTE PERF_IND/A300 =
IF DOLLARS GT 3900000 THEN
'<img src="/approot/work/ThumbsUp.png" alt="Nice Job!" title="Richard Branson would like to hire you." />'
ELSE
'<img src="/approot/work/ThumbsDown.png" alt="Try harder!" title="Donald Trump would like to fire you." />'; AS ''
BY ST
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET PAGE OFF
ON TABLE SET STYLE *
INCLUDE = ENInformationBuilders_Light1, $
TYPE=HEADING,COLOR='WHITE',BACKCOLOR=RGB(#4F81BD),$
ENDSTYLE
END
I want to thank you for all of your suggestions. I will look at them when I get a chance. The problem is that I will have to update virtual every report that I have. I have virtually all reports call the same function that puts these images at the top. If IB updates the TYPE=HEADING to use the "Title" tag I would have to make much of a change.
Thanks again for your time.
WebFocus 8.1.5 iSeries/Windows DB2/SQL/Access Dev Studio App Studio Maintain ReportCaster
Posts: 341 | Location: Pembroke NH/Jericho NY | Registered: June 15, 2011