Focal Point
[SOLVED] WebFocus8 Image displaying issue

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

October 07, 2013, 02:44 PM
RaviD
[SOLVED] WebFocus8 Image displaying issue
ALL,
I have a following code in WF 7.7.03, in this version images are displaying without any issues. When this code converted into WF8, the image is not displaying as like version 7. Do I need to update any path in this code?

  

-SET &ECHO = 'ALL';

-SET &XLS_IMG =  '''<img src="/approot/baseapp/excel.png" align="absmiddle" width="16" height="16" alt="Excel" border="0">''';



DEFINE FILE CAR
EXL_IMG/A200 = IF '&WFFMT' NE 'HTML' THEN ' ' ELSE &XLS_IMG;
END


TABLE FILE CAR
PRINT
     CAR.COMP.CAR
     CAR.CARREC.MODEL
     CAR.BODY.BODYTYPE
HEADING
"<EXL_IMG"
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
     INCLUDE = IBFS:/EDA/CM1LODV8/_EDAHOME/ETC/endeflt.sty,
$
ENDSTYLE
END



Thanks

This message has been edited. Last edited by: <Kathryn Henning>,


WebFocus 8202M
APP Studio
Info assist
Report caster
Portals
Maintain
EXcel,PDF,HTML,Active Reports
October 07, 2013, 03:56 PM
<Kathryn Henning>
Hi RaviD,

When including code in a post, you can use the last button on the icon ribbon to accomplish this.

Regards,

Kathryn
October 07, 2013, 04:27 PM
RaviD
OK. Thanks


WebFocus 8202M
APP Studio
Info assist
Report caster
Portals
Maintain
EXcel,PDF,HTML,Active Reports
October 07, 2013, 05:08 PM
Waz
What gets generated ?
Is the link to the image broken ?
HAve you looked at the reports html output to see what has been generated where the image code should be ?


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

October 08, 2013, 05:48 AM
Twanette
Hi,

Is your WebFOCUS server installed on the same server as your web server?

This may be obvious, but just to check:
The web server is going to try to find the image for you. So you need to see which physical directory "approot" points to on your web server. Then, in that directory there needs to be a baseapp directory, which needs to contain excel.png


WebFOCUS 8.2.06 mostly Windows Server
October 08, 2013, 09:34 AM
RaviD
It seems configuration issue with our web server. I will update here if I find any resolution


WebFocus 8202M
APP Studio
Info assist
Report caster
Portals
Maintain
EXcel,PDF,HTML,Active Reports
October 25, 2013, 05:18 PM
RaviD
This Issue was resolved by Adding WebApps to Approot.


WebFocus 8202M
APP Studio
Info assist
Report caster
Portals
Maintain
EXcel,PDF,HTML,Active Reports