Dan Pouliot Posted January 28, 2014 Posted January 28, 2014 (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?
Fitch Posted January 29, 2014 Posted January 29, 2014 Is the export script in the same file as the data?
Dan Pouliot Posted January 29, 2014 Author Posted January 29, 2014 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?
Fitch Posted January 30, 2014 Posted January 30, 2014 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. 2
Dan Pouliot Posted January 31, 2014 Author Posted January 31, 2014 bummer. well, thanks for the answer!
Recommended Posts
This topic is 4340 days old. Please don't post here. Open a new topic instead.
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