AnsweredAssumed Answered

After creating a pdf via script, how to automatically delete file

Question asked by samf. on Sep 28, 2017
Latest reply on Sep 28, 2017 by samf.

Hi all,


I have created a script that when used with FM GO, creates a pdf file using various fields to create the new '*.pdf" file that is then sent to a predetermined email address from an iPad.


What I would like to do is once the file has been created and then emailed, have the script delete the same file so as not to take up space on the iPad, yet keep the actual record.


I tried using Export Field Contents [ ] and also then tried Export Field Contents [ "$path" ], but neither of these did the job.


Any advice is greatly appreciated.