January 28, 201411 yr (FMPA 12.0v5) I have a script with 1 script step: "export records". "run script with full access privileges" is checked for the script. When I run the script under a full access privilege set, it works (it displays an export dialog, then exports the file). When I run the script under a privilege set where "allow exporting" is unchecked, it fails (it does not display an export dialog, and does not export any file). This doesn't sound correct. Anyone know what I'm doing wrong?
January 29, 201411 yr Author I use 2 filemaker files, one for data, the other for UI. the script is in the UI database. Your question prompted me to make a test, by putting the script in the data database. Sure enough, it worked! I don't understand why, and I would prefer to have the script in the UI database. Any advice?
January 30, 201411 yr This is definitely a feature, not a bug. Imagine the security implications if you could tell a UI script in one file to run with full access against locked-down data in another file. Not good. Either your data file will have to run the export script, or you'll have to rethink the way you control exports. If somebody has an elegant solution to this, I'd like to hear it.
Create an account or sign in to comment