1 Reply Latest reply on Nov 28, 2012 8:34 AM by philmodjunk

    PDFs and file paths



      PDFs and file paths


            I'm using the save records as pdf script fot current record and I would like to send it as an email or rather as an attatchment. I would rather not use the option of "create email with file as attatchment" because you cannot autoinsert a field contents as the email recipiant. So I'm saving to a folder. What I'd like to do is save it as an incremental numver from a number field and create a send mail file path to grab the highest numbered pdf as an attatchment. How do I write that file path?


           I'm on FM Pro 12

        • 1. Re: PDFs and file paths

               Presumably you know how to use a variable to specify a file path for the Save As PDF script step. If not, see this thread: Found Sets to PDF with unique file names

               Since your script has just put the path to the PDF in a variable, you can add the send mail script step to your script, open the script step up to specify options, click the attachements check box and then you can type in the variable name instead of an explicit file path/name.