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     Embedding Image into Report Header in PDF...

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Embedding Image into Report Header in PDF...
 Login/Join
 
Platinum Member
posted
Any pointer on how to embed a image (source is url) in Report header where output format is PDF.
This one is not working :
TYPE=HEADING,
LINE=3,
OBJECT=TEXT,
ITEM=3,
IMAGE="http://webfadh.target.com/wfrimg/pdresourcerecovery.GIF",
$
tks/sam


WF Server: 7.1.4 on Z/OS and Linux, ReportCaster
Data: DB2, DB2/UDB, Adabas, SQL Server, Oracle Output: HTML,PDF,Excel2K
WF Client: Servlet, CGI
 
Posts: 133 | Registered: May 12, 2007Report This Post
Member
posted Hide Post
The double quotes around the URL are definitely not going to work. URLs for images in PDF are not officially supported (images should be on the reporting server) but this does work for me in 76:

TABLE FILE CAR
HEADING
" "
" "
" "
" "
SUM RC DC BY COUNTRY BY CAR
ON TABLE PCHOLD FORMAT PDF
ON TABLE SET STYLE *
TYPE=HEADING,
POSITION=(+0.000000 +0.000000),
IMAGE=http://localhost:8080/ibi_html/sand.gif,$
ENDSTYLE
END
 
Posts: 13 | Registered: April 23, 2004Report This Post
Virtuoso
posted Hide Post
Have played with images and found that for PDF, the image should reside in a mapped directory area, for HTML it should be in the app/ path. Never tried an http:// option.


Leah
 
Posts: 1317 | Location: Council Bluffs, IA | Registered: May 24, 2004Report This Post
Virtuoso
posted Hide Post
I'm going to second Leah's comment. Having extensively used images in PDF reports, I would say that using a URL reference is NOT the correct way. We have added an IMAGES directory in the application path that holds all logos, lines, boxes, etc. that will be used in any report. This way, we can simply reference the image's name in the fex without having to worry about where things are. And this directory is easily managed (adding/moving/deleting images) using DevStudio.


Regards,

Darin



In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
 
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007Report This Post
Expert
posted Hide Post
or, if you want to cheat, you can CMD COPY //server/.../mypic.jpg mypic.jpg
the image from wherever it resides and plop it in to your agent, then your pdf can embed it. If , say, your images are coming from another application, and you don't want to make a separate directory to hold yet another copy of all your images,




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report 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     Embedding Image into Report Header in PDF...

Copyright © 1996-2020 Information Builders