NetTalk Central

Author Topic: Where to fine name of generated pdf  (Read 2715 times)

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
Where to fine name of generated pdf
« 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.

Jim A

  • Full Member
  • ***
  • Posts: 203
    • View Profile
    • Email
Re: Where to fine name of generated pdf
« Reply #1 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.