Focal Point
FILEDEF for images in UNIX

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1071082392

July 28, 2008, 09:00 AM
Srinivasan_Munuswamy
FILEDEF for images in UNIX
Hi All,
I have a problem in accessing the images stored in the server and refer the stored images in excel format requests.
Problem is,
We have the WFclient deployed in server1 and the WF reporting server deployed in server2. When I issue the FILDEF command

FILEDEF XYZ DISK /home/webfocus/ibi/apps/sm66272/XYZ.gif

the image is actually storing in the WFreporting server i.e in server2 and I could not able to refer the stored images in WFreportingserver through an http URL.
[i.e to show the images in ]
I need your help in finding a way either to access the image stored in server2 or how do issue my FILEDEF command to store the image in server1, as I can able to access the server1 images through the URL.

Thanks
Cnu


WF 8.0.0.9 Database : oracle

CURRENT:
WebFOCUS 8.0.0.9 /oracle 11 i

July 28, 2008, 09:30 AM
GinnyJakes
Cnu,

You have to copy it to the WF client path. When run from a browser, the images are served from the web server. Your html page should reference images as

http://yourwebserver/approot/dirname/yourimage.gif

Or you can make it relative to the server by starting with /approot.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
July 29, 2008, 02:26 AM
Srinivasan_Munuswamy
quote:
.e to show the images in ]
I need your help in finding


Thanks Ginny.

Can you gimme CAR example to store my images in the webserver approot/dir directory. Because when I use FILDEF and give the path as
FILEDEF XYZ DISK /home/webfocus/ibi/apps/sm66272/XYZ.gif

it is actually storing the images in the webfocus reporting server path , as these are graphs dynamically generated Is there any way to copy those dynamically generated graph gifs to the webserver directory at run time.

[To remind] our reporting server is in a seperate machine and reporting client is in a seperate machine where the appserver(WebSphere) is installed. All the environments is in UNIX.

Thanks,
Cnu

This message has been edited. Last edited by: Srinivasan_Munuswamy,


WF 8.0.0.9 Database : oracle

CURRENT:
WebFOCUS 8.0.0.9 /oracle 11 i

July 29, 2008, 09:20 AM
GinnyJakes
Cnu,

As I said above, you cannot save into the client server from the reporting server. If you are on Windows, you could possibly do a Windows-mapped drive, then do an APP MAP to that drive, then filedef it and save.

And there is always ftp.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
July 30, 2008, 02:41 AM
Srinivasan_Munuswamy
Thanks Ginny,
My servers are in UNIX environments,Is there a way I could issue my ftp command in my fex itself so that I can refer images in the excel.
Thanks
Cnu


WF 8.0.0.9 Database : oracle

CURRENT:
WebFOCUS 8.0.0.9 /oracle 11 i

July 30, 2008, 09:31 AM
GinnyJakes
Cnu,

You can run a script from a fex, not the individual commands. The latter won't work for obvious reasons. Make sure that you have security handled. Also make sure that the file permissions on the target box are correct after the ftp.


Ginny
---------------------------------
Prod: WF 7.7.01 Dev: WF 7.6.9-11
Admin, MRE,self-service; adapters: Teradata, DB2, Oracle, SQL Server, Essbase, ESRI, FlexEnable, Google
August 02, 2008, 10:11 AM
Srinivasan_Munuswamy
quote:
latter won't work for ob

Thanks Ginny!!!
Ftp works and the Excel shows the images,but due to security issue client refused this options Frowner

regards
Cnu


WF 8.0.0.9 Database : oracle

CURRENT:
WebFOCUS 8.0.0.9 /oracle 11 i