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've reviewed previous posts regarding images in PDF reports. I've followed examples but I'm still having problems.
This is my code:
-*SET BASEURL=http://rrbwebprod22/ibi_html/
-*TABLE FILE CAR -*PRINT CAR MODEL SEATS -*BY COUNTRY -*ON TABLE SET ONLINE-FMT PDF -*ON TABLE SET STYLE * -*TYPE=REPORT, IMAGE=IB_LOGO.gif, $ -*ENDSTYLE -*END
If I remove 'PDF' format, the image is displyed, otherwise I get an error:
(FOC3202) BAD VALUE IN STYLESHEET FILE AT LINE: 1 IMAGE=IB_LOGO.gif
Almost everyone gets hung up on this problem at some stage and the main reason (that I can see) is the understanding of where an image file needs to reside to be picked up by a particular format.
HTML output is built in the browser and therefore the image file HAS to be available via a URL. So the image file must exist on a server that is available to the web.
However, PDF output is built on the Reporting Server BEFORE being sent to the browser and therefore the image file HAS to be available to the Reporting Server and therefore (as Francis states) in a folder available in the APP PATH (or EDAPATH). A URL is no use in this instance.
If you are adding a Logo image to a heading on your report, then I would suggest you copy it using the op system (WebFOCUS will not copy JPEGs successfully - gifs are OK though) to the BASEAPP folder on your Reporting Server. Because the BASEAPP folder is normally included within the APP PATH (Use APP SHOWPATH to check) the image file should always be available to PDF format reports.
There are occasions when the image file seems to work when contained on the Client Server and this is (usually) when both the Client and Reporting Servers are installed on the same physical machine and have the same root directory.
Hope this helps.
T
In FOCUS since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
Posts: 5694 | Location: United Kingdom | Registered: April 08, 2004