Focal Point Banner


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.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Problems displaying Image in PDF report

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Problems displaying Image in PDF report
 Login/Join
 
Member
posted
Hi,

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

Can anyone help me? Thank you.

Margaret
We have WebFOCUS 5.3.
 
Posts: 12 | Registered: March 30, 2006Report This Post
Virtuoso
posted Hide Post
I have an image in a PDF and had to add this at the beginning for it to be located.
IMAGE=http:\\server\approot\chddb_magic\ logo.gif,


In Focus since 1993. WebFOCUS 7.7.03 Win 2003
 
Posts: 1903 | Location: San Antonio | Registered: February 28, 2005Report This Post
Expert
posted Hide Post
For PDF, the image has to be in an App folder that is defined in the App Path.


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Hi Margaret,

Has this issue been resolved? Did Prarie and Francis' suggestions help you? Many thanks to both Prarie and Francis. Wink

I am wondering, if you add the full address/URL of the image to IMAGE = (here is the full address/URL), will that work fine?

I also ran some search on Information Builders' online document and came across the following topics which may be of interest:

Summary: not able to display graph image in compound pdf report

How to apply conditional styling with multiple (AND/OR) conditional values

Hope this helps. Big Grin

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
Member
posted Hide Post
Hi Kerry,

I've specified full url, baseurl, it didn't help. edasprof contains mapping to the image library, but I'm still having problems.

Margaret
 
Posts: 12 | Registered: March 30, 2006Report This Post
Expert
posted Hide Post
Margaret, is the image in an APP folder? Is your report in MRE?


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Margaret,

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, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Problems displaying Image in PDF report

Copyright © 1996-2020 Information Builders