Focal Point
Regarding URL in stylesheet

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

January 11, 2007, 09:47 AM
Syed
Regarding URL in stylesheet
Hi,
We are working on WebFOCUS 7.1.4. We have a few HTML files in the same development environment which we would like to invoke from the .fex file. For this we tried using URL tag in the stylesheet and gave the relevant name for the concerned HTML file. However, we got a 'Page Cannot be Displayed' message. We also tried giving the path of the HTML file (Eg. \abc\cd_p\xxx.htm). The 'Page Cannot be Displayed' error occurred again.

Please suggest as to how we can refer to the HTML page in the same development environment from the .fex file.

FYI, although we can achieve the above fucntionality by calling another .fex file from the stylesheet of the first one (using FOCEXEC = abc.fex), and then invoking the relevant HTML from there, our requirement is to directly call the HTML from the .fex file and pass the required parameters.

Please suggest!

Warm Regards,
Maverick


Using WF 7.1.7/Dev Studio
January 11, 2007, 11:49 AM
Francis Mariani
For a URL to work correctly, the HTML page must reside in a directory on the server that the web server has an alias of. This is normal web stuff, nothing to do with WebFOCUS.

So, if you want to call a URL from a WF stylesheet drilldown, you must refer to a web server alias.

Something like this:

TABLE FILE CAR
SUM 
SALES
BY COUNTRY
ON TABLE SET STYLE *
TYPE=DATA, COLUMN=COUNTRY, URL=..\approot\ibisamp\wfmstart.html, $
ENDSTYLE
END


approot is an alias defined on the web server for (usually) directory c:\ibi\apps


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