Does anyone know the sytnax for EDAGET? Something similiar to what Waz posted here EDAPUT Syntax for EDAPUT. I'm planning on using the technique dhagen suggested in [CLOSED] Delivering files through WebFOCUS. I want to make sure that I use EDAGET correctly.This message has been edited. Last edited by: Kerry,
-* this works FILEDEF MYREPORT DISK c:\ibi\apps\myapp\myreport.xls TABLE FILE IBISAMP/CAR PRINT SALES MODEL ON TABLE HOLD AS MYREPORT FORMAT EXL2K END -RUN SET HTMLFORMTYPE=XLS -HTMLFORM MYREPORT
-* this works CMD COPY c:\ibi\apps\myapp\myfex.fex myfex.fex EX EDAGET TXT, myfex.fex, T
-* this works APP ENABLE EX EDAGET TXT, myapp/myfex.fex,T
-* but this doesnt work; cant deliver externally created binaries FILEDEF MYREPORT DISK c:\ibi\apps\xsusantest\vacation.xls SET HTMLFORMTYPE=XLS -HTMLFORM MYREPORT
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
WebFOCUS Keysheet Rel. 8.0.2 (Almost) 1001 Ways to Work with Dates thru Rel. 8.0.2 Focus since 1982 WebFOCUS since the beginning Vivian@aviter.com
August 05, 2013, 06:34 AM
linnex
Hi everybody,
what - EDAGET. When I first saw this post it looked too good to be true (incl. the related posts). But then finally the small but important hint appeared "text-based files okay; binary-types no joy". Tested it myself and sadly have to agree: A
-MRNOEDIT EX EDAGET PDF,HOLD_PDF,b
returns a broken PDF.
So I still have to stick to my tedious own workarounds: Either base64 converted PDFs embedded in MHTML (does not seem to work in IE anymore) or hacking the file download function of WebFOCUS in temp folder (works quite well for 7.7.03, but requires the current browser session ID to be transfered to FEX)
Hopefully, somebody will soon find an out-of-the-box solution for providing binaries from WebFOCUS.
Cheers Linne
WebFOCUS 7.7.03
August 05, 2013, 10:13 AM
Alan B
Linne I would raise a case with IB on this. There has been a solution to using EDAGET to retrieve externally created PDF files which has been used successfully.