1 Reply Latest reply on May 21, 2012 1:51 PM by TSGal

    not writing over old pdf file on iphone



      not writing over old pdf file on iphone


      I have a script exporting the current record as a pdf file then emailing it. It works for the first 5 to 10 records then it stops writing over the old pdf file and sends the old pdf instead of the new one that should be created for the new records. This appears to be a bug. I have the same database running on 15 phones and the same thing happens on all of them.

        • 1. Re: not writing over old pdf file on iphone

          Jeff Pence:

          Thank you for your post.

          Currently, iOS 5 does not allow the overwriting of files, so a new file is created each time.  If the file name is identical to an existing file name, then the number 2 is appended to the file name.  Therefore, when you create the PDF file, make sure it is a unique name.  Some customers append the date to the file name to ensure uniqueness.

          Let me know if you need additional clarification.

          FileMaker, Inc.