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.
The fex is not in the ibi_html folder. That's a web server alias. It is possible the web server alias points to a physical folder that's on the reporting server...
baseapp is the default reporting server app folder: drive:\ibi\apps\baseapp
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
image Specifies the file name of a graphical image file. The image must exist as a separate graphic file in a format that your browser supports. Most browsers support GIF and JPEG file types. You can specify a local image file, or identify an image elsewhere on the network using a URL. URLs can be absolute, such as, http://www.ibi.com/graphic.gif, or relative alias that can be identified to the application server or web server, such as, /ibi_apps/ibi_html/ibi_logo.gif .
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
Your fex could also be located in the Repository...
Yea, I tried using /public_folder/ls_logo.gif, which is public_folder is one of our folders on the reporting server and that didn't work either. I'm starting to think this is a configuration issue.
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
I'll tell you one thing: the rules don't apply for PDF formats.
Here's a simple question for IBI'ers Tamra and Emily (or any other IBI'er that feels like piping in): Please explain why the all-GUI generated code below does not work when the &WFFMT parameter is set to PDF?
The fex and image are in the same Repository folder.
-DEFAULT &WFFMT='PDF';
TABLE FILE CAR
SUM
CAR.BODY.SALES
BY LOWEST CAR.ORIGIN.COUNTRY
HEADING
" "
" "
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT &WFFMT.(<HTML,HTML>,<PDF,PDF>,<Excel 2007,XLSX>,<Excel 2000,EXL2K>,<Excel 2007 Formula,XLSX FORMULA>,<Excel 2000 Formula,EXL2K FORMULA>,<HTML Active Report,AHTML>,<Active Report for Adobe Flash Player,FLEX>,<Active Report for PDF,APDF>,<PowerPoint,PPT>).Select type of display output.
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/endeflt.sty,
$
TYPE=HEADING,
IMAGE=IBFS:/WFC/Repository/Test/FrancisMariani/ib_logo.gif,
POSITION=(+0.000000 +0.000000),
$
ENDSTYLE
END
It shows the image when &WFFMT is HTML, but throws an error when the value is PDF.
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
0 ERROR AT OR NEAR LINE 21 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC253) INVALID FORMAT SPECIFICATION ON LEFT HAND SIDE: A80000V
0 NUMBER OF RECORDS IN TABLE= 1 LINES= 1
0 ERROR AT OR NEAR LINE 96 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC3251) IMAGE FILE UNREADABLE OR INVALID: ls_logo.gif (RC=103)
0 ERROR AT OR NEAR LINE 96 IN PROCEDURE ADHOCRQ FOCEXEC *
(FOC3251) IMAGE FILE UNREADABLE OR INVALID: ls_logo.gif
(FOC3298) ERROR FOUND IN A COMPOUND REPORT
Compound Report is TERMINATING.....
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
I totally agree, but I've recreated the GIF thinking it might have something corrupt in it and it still errors for GIFs, but works with JPGs. Doesn't work for PNGs either. Same error.
- FOCUS Man, just FOCUS! ----------------------------- Product: WebFOCUS Version: 8.1.04 Server: Windows 2008 Server
According to the WebFOCUS v8.0.08 documentation, GIF is the only valid format for PDF:
Creating Reports With Report Painter > Styling Reports With Report Painter > Adding an Image
quote:
The image must exist as a separate graphic image file in the following formats for use in a report:
For Bitmap files (.BMP), GIF files (.GIF), JPEG files (.JPEG), JPG files (.JPG), Enhanced Metafiles (.EMF), and Windows Metafiles (.WMF), Scalable Vector Graphics (.SVG). For HTML reports, GIF (.GIF) or JPG (.JPG). For PDF (or PS) and PPT reports, GIF (.GIF). Tip: Since GIF images are supported in all report formats, using GIF images ensures that your images appear whether you display your report as HTML or PDF.
And no Excel format is mentioned here...
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