Focal Point
[CLOSED] EDAGET Syntax

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

July 12, 2012, 01:17 PM
Mighty Max
[CLOSED] EDAGET Syntax
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,


WebFOCUS 8.1.05M Unix Self-Service/MRE/Report Caster - Outputs Excel, PDF, HTML, Flat Files
July 12, 2012, 06:17 PM
Waz
Something was posted on the forum previously.

http://forums.informationbuild...71057331/m/775100452


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!

August 01, 2013, 03:18 PM
susannah
Fun with EDAGET

-* 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
August 01, 2013, 05:05 PM
Vivian
See also:

http://forums.informationbuild...1057331/m/7717034236


Vivian Perlmutter
Aviter, Inc.


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 Roll Eyes 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.


Alan.
WF 7.705/8.007