dmontano Posted January 5 Posted January 5 (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. Edited January 5 by dmontano Sentence not applicable.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now