From Active4d, I'm calling a 4D method that returns a blob (via a process variable pointer). The blob is generated by PDF Plugin and all are PDF reports or forms.

Everything is working, except when the doing a save as from the PDF View application (Preview or Acrobat), the default name is the name of the Active4D driver method that relays the blob, in my case "PDFLib.a4d".

Is there a way to set the name of the response buffer to something else ? Like InterviewList.pdf? Didn't see anything in the Response Buffer manual pages.

Code fragments from PDFLib.a4d

        ` set up selection, etc.....
        $err := PDF_InterviewlistToBlob(->A4DBlob)
..

        if($err = "")
                write blob(A4DBlob;"application/pdf")
        else
                write($err)
        end if


Steve Alex
AIDT

_______________________________________________
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