Quantcast
Channel: FileMaker Forum > Report an issue
Viewing all articles
Browse latest Browse all 3510

FMPA 14: Save Records as PDF Script Bug - Generates Error (7 Comments)

$
0
0

Issue report by Mac89

Product

FileMaker Pro

Version

14.0.1

Operating system version

Mac 10.10.3

Description 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.pdf

Actual 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."

Exact text of any error message(s) that appear

"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.

Configuration information

Database hosted on FM Server v13.0.9

Workaround

Works fine in FM 13.0.9

Viewing all articles
Browse latest Browse all 3510

Trending Articles