NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Jim A on March 18, 2013, 06:56:02 AM

Title: Where to fine name of generated pdf
Post by: Jim A on March 18, 2013, 06:56:02 AM
I realize that this will be addressed in 7.07, but I need to get this done asap. 

Scenario: I need to email a pdf inventory quote (report).  I added a email button to the the Inventory Browse.  It calls an Email Form.  Here the user looks up the Customer, can add text, etc.  On this Form is a button for generating the pdf.  Once generated, there is a link to preview the pdf.

I want to attach the pdf.  Where and how can I get the name of the $$$pdffile that is created in the /reports/ folder?

Also, I am guessing that it is possible to automatically generate the pdf when the Form opens.  I'm really lost on which embed points to use, however.

Thanks.
Title: Re: Where to fine name of generated pdf
Post by: Jim A on March 18, 2013, 02:53:11 PM
Have a bit less hair, but finally got it by setting my report to return the pdf filename.