Issue report by Mac89
Product
FileMaker ProVersion
14.0.1Operating system version
Mac 10.10.3Description of the issue
When running the "Save Records as PDF" script in FMPA 14.0.1 it generates the following error and will not write the file. Unfortunately the rest of the script continues to run minus the file. In our case resulting in an email being sent to clients without the attachment.The error message is:
""FileX.pdf" could not be created on this disk. Use a different name, make more room on the disk, unlock it or use a different disk."
This script step worked fine for in 13.0.9. Immediately after it failed in 14.0.1, I opened up 13.0.9 and ran the same script and it worked fine.
In this case the database file I am accessing is hosted on FMS 13.0.9.
As an additional test. I opened up the same record and selected "Save Record as PDF" from the File menu and saved it to the same folder with the same filename without issue in 14.0.1. It only seems to have an issue when done through the script step.
The exact script step is:
Save Records as PDF [Restore; No dialog; "XXX-Namexxx.pdf"; Current record]
I pulled that step out and put it into a script by itself and then ran it again. It generates the same error.
There are three file paths. The one valid for the workstation I'm on is the second one.
It follows the format of
filemac:/External Drive/Folder/Folder/XXX-Namexxx.pdf
Steps to reproduce the problem
Create a script with Save Records as PDF [Restore; No dialog; "XXX-Namexxx.pdf"; Current record]Expected result
Save file in the proper folder named XXX-Namexxx.pdfActual result
Generates below error message and does not create the file""XXX-Namexxx.pdf" could not be created on this disk. Use a different name, make more room on the disk, unlock it or use a different disk."