[SOLVED] Hyperlinks from Excel output stop working in Reportcasts
I have a report that outputs to HTML with drilldowns to more detailed reports, all of this works fine.
When I change the output to EXL2K, the drilldowns also work fine no matter if I chose to "Save" the .xls or to "Open" the .xls in browser.
However, when I schedule the report to go in EXL2K in Reportcaster, the hyperlinks change to reference file://c:\ rather than http://.
Note, I have checked my folder options in windows and Browse in current window is selected for xls files (as mentioned in other threads on focal point).
Any ideas?This message has been edited. Last edited by: Kerry,
Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
February 19, 2009, 11:36 AM
GinnyJakes
You must have the parameter FOCEXURL set in your focexec to point to your webserver and WebFOCUS. Check it out.
When we played with the focexurl, we added this to the top of the .fex SET FOCEXURL = 'http://svr99wfrs/ibi_apps/WFServlet?'
And our drilldowns look like this... TYPE=DATA, COLUMN=N41, FOCEXEC=ar_opentickets.fex(CUST_NUM=ACCT), $ TYPE=DATA, COLUMN=N42, FOCEXEC=ar_opentickets(CUST_NUM=ACCT), $ TYPE=DATA, COLUMN=N31, FOCEXEC=app/ar_FinanceChgDue(CUST_NUM=ACCT), $
All of the drilldowns give us an error of "Can't find Fex"... as you can see we took the app/ off one drilldonw, the .fex and app/ off the next and left another the same. All of them give the same error.
Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
February 19, 2009, 11:57 AM
susannah
the fexes aren't on your default edapath.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
February 19, 2009, 12:20 PM
Jason K.
Thanks Susannah/GinnyJakes!
After taking the drilldown fexes out of MR and putting them in the EDASERVE, adding the FOCEXURL and dumping the App/ from stylesheet code in the master .fex, it all seems to be working now.
Prod: Single Windows 2008 Server running Webfocus 7.7.03 Reporting server Web server IIS6/Tomcat, AS400 DB2 database.
February 19, 2009, 05:00 PM
Darin Lee
You solved the problem of making them work, but you must realize that because you have added these procedures to your EDAPATH, these procedures are now available to anyone who has access to the server with that same edapath setting. If those procedures produce reports with any sort of sensitive information, you need a more secure approach. There are many examples on the forum if you search drill-down, Exl2k, ReportCaster, etc.This message has been edited. Last edited by: Darin Lee,
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
February 19, 2009, 06:06 PM
Francis Mariani
Darin,
I don't actually know where else you could put those drill-down programs.
Perhaps in a non-EDAPATH folder that is referred to in the drill-down by the IBIB_app parameter?
Thanks,
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
February 19, 2009, 06:57 PM
Darin Lee
At minimum, you should be able to leave them inside of MRE and use the IBIMR_drill='RUNNID' which would limit access to the drill report to those who can access the top-level report.
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
February 19, 2009, 08:33 PM
susannah
If your drilldown fexes are in mre and your host is in mre, you should have no problem whatsoever. the links should contain the mre domain name. and the edapath is not an issue. humor me... write the fex with an HTML output and an HTML drilldown. Keep the FOCEXURL statement in the fex when the output shows up, right click, view source, and look for the http:\\SERVERNAME\..etc of one of the drilldowns. Copy it, and paste it here. (within CODE tags, of course)
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID