Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3948 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted
(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?
Posted

Is the export script in the same file as the data?

Posted

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?

Posted

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.

  • Like 2

This topic is 3948 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 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.