Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Recommended Posts

Posted (edited)

Hello,

I am stuck. I have searched high and low prior to coming here for help.

I have a script that works on a table/layout called "document". It inserts either a "Picture" or a "File" depending upon what the user selects via a dialogue prompt. The picture or file is being saved to external storage and I can verify that these inserted files exist in storage by viewing the external storage file system. So far, so good.

I duplicated this script and modified it so it could work for another table/layout called "file_extension_type". With this modified script, I can insert a "file" -  but not a "picture".

When using script debugger to troubleshoot - I do receive an error message when trying to insert a "Picture", but not when I insert a "File". The error message is: "Last error: [852] Cannot write a file to the external storage"

I am attaching screenshots of:

  • Insert Picture or File script for Document layout (seems to work fine);
  • Insert Picture or File script for File Extension Type layout (does NOT work, the problem script);
  • Script Debugger Error Message when running problem script;
  • Data Viewer screenshot when running the problem script;
  • External Storage File System (showing files are being written to storage for BOTH scripts - except "picture" type when running problem script.

I suspect both scripts are not constructed properly, but one is working and the other not. My use of go to "object" and go to "field" may be redundant or improper in sequence.

I do NOT suspect external storage permission problems - as I am able to write files to the location (except "Picture" type files for the "File Extension Type" script.

Any help on this is appreciated.

 

01_insert__document_layout.png

02_insert__file_extension_type_layout.png

03_error_message.png

04_data_viewer.png

05_external_storage_file_system.png

Edited by dmontano
Sentence not applicable.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.