AnsweredAssumed Answered

Creating PDF and Emailing

Question asked by bookalaka_1 on Sep 2, 2013
Latest reply on Sep 3, 2013 by shilpas@metasyssoftware.com

Title

Creating PDF and Emailing

Post

     Hello and good morning,

     I discovered this script  but have run into an error. "2013" could not be created on this disk use a different name or create more space? I don't know where on the ipad or filemaker where there is a folder that saves these?

     Ultimately I would like to send a report to my company from an Ipad daily using my layout design.

     Here is the script

     The file paths are different on a Mac and iPad/iPhone/iPod touch.  Therefore, you will have to modify your script.  Thanks to our Software Quality Assurance (Testing) department for providing the following sample script:

     Set Variable [ $FileName ; Value: "Test_" & Substitute ( Get ( CurrentDate ) ; "/" ; "-" ) & ".pdf" ]
     Save Records as PDF [ No dialog ; "$FileName" ; Records being browsed ]
     Set Variable [ $PDFPath ; Value: Get (DocumentsPath) & $FileName ]
     Send Mail [ Send via E-mail Client ; To: "user1@abc.com" ; Subject: "Invoice" ; Message: "Test" ; "$PDFPath" ]

      

     Also on the $FileName would I use my file name or this is just a global name useage?

      

     Thank you for help!

     Bookalaka

Outcomes