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     Including Webfocus generated Graphs as images in HTML pages.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Including Webfocus generated Graphs as images in HTML pages.
 Login/Join
 
Master
posted
Hi

This was part inspired by

Display a GRAPH as report page header

https://forums.informationbuilders.com/eve/forums/a/tpc/...1057331/m/3951098972

I have an HTML page in which I have embedded images which are wf graphs generated in the same report.

Using TonyA's principle that HTML links are resolved relative to the users machine, I have to place the graphs in a location where they can be linked via a URL.

This means temp directory will not work and also my server since this is a separate machine to the wf client which is the only machine reachable by URL.

The only way I can think of doing this is

-* use MRE_User to uniquify this 
ON GRAPH PCHOLD AS GRAPHSPA_&MRE_User FORMAT PNG
...

COPY the file from the server to the client 

DOS COPY GRAPHSPA_&MRE_User.PNG \\CHAOS\WF76\IBI\APPS\USERTEMP

Now access within the webpage

-HTMLFORM BEGIN
<html>
<body>
<img>http://chaos/approot/usertemp/GRAPHSPA_&MRE_User.PNG</img>

etc (not all code shown)



I am fairly certain this will work. I just wondered if there is a neater way or how other people solve this same problem.

Regards

John



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
Virtuoso
posted Hide Post
John

I use:
.
ON GRAPH HOLD AS name FORMAT HTMTABLE
.
.
-HTMLFORM BEGIN
.
.
!IBI.FIL.name;
.
.


Alan.
WF 7.705/8.007
 
Posts: 1451 | Location: Portugal | Registered: February 07, 2007Report This Post
Virtuoso
posted Hide Post
HAMMO1J,

As you noted, Due to the fact that your WF Client and WF Server components are on separate machines, you have to put the graph image files in a directory which the CLIENT machine can access them.

An alternative solution to do this would be to map a drive on the WF Server machine that points to the directory on the CLIENT machine. Then map an APP PATH to the directory and point the holding of files to this directory with APP HOLD.

Just a thoguht.


Thanks!

Mickey

FOCUS/WebFOCUS 1990 - 2011
 
Posts: 995 | Location: Gaithersburg, MD, USA | Registered: May 07, 2003Report This Post
Master
posted Hide Post
Thank you very much for some good suggestions.

Alan B

Your method works fine but when I position my cursor over the graph it comes up with "click to activate and use this control. Subsequently it allows you to move the compenents of the graph all over the output.

Does anyone know how to turn this feature off!



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
 
Posts: 888 | Location: Airstrip One | Registered: October 06, 2006Report This Post
Virtuoso
posted Hide Post
Try SET GRAPHEDIT=OFF which removes the capabilities to edit the graph after generation.


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
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Including Webfocus generated Graphs as images in HTML pages.

Copyright © 1996-2020 Information Builders