This brings back bad memories of trying to get fdf and xfdf to work in 
Active4D.  About the only thing I can find is my archives are the templates. I 
just remember giving up and we went to pdfplugin and used some plugin to 
populate the fields and sent the pdf. I also remember something about the file 
corruption error.

Seems to me that opening fdf file actually combines the fdf and xfdf file in 
the pdf template. I just can't remember what all we tried. Think we went as far 
has having applescript open the file and save the pdf, but that was a hack 
destined for problems. Think another excursion was to not open the file in the 
browser, but saving it. Think that worked, but you had to go through stuff to 
find the template.

If your write a blob (fdf opened with document to blob), the output buffer is 
cleared with write blob. You can try "clear response buffer", but "Write Blob" 
should do that.

On Mar 17, 2010, at 6:25 AM, Mike Vogt wrote:

> Hi all,
> I have a nested circuit that I believe needs to clear out anything in that's 
> already in the output buffer before it includes it's raw data.  In the past, 
> I've included a simple html list form and followed with set content 
> type("application/vnd.ms-excel") in order to have the document open up in 
> Excel. It works great. I now have the need to do something similar except 
> it's an Adobe .fdf (not .pdf) document that I need to open in Acrobat (within 
> the browser). I'm doing the same thing as above, creating a text document 
> with the .fdf data ( which works when opening directly) and following with 
> set content type("application/vnd.fdf"), which is the proper MIME.  I'm 
> getting an error indicating the document is corrupt and I believe it's due to 
> what's in the output buffer prior to my document.
> 
> My question, is there some setting that will allow a circuit to 'clear' 
> everything in the output buffer at any given time?

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to