Creating PDF and Emailing
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: "firstname.lastname@example.org" ; 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!