Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Export Records script step not working

Featured Replies

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

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

  • 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?

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.

  • Author

bummer. well, thanks for the answer!

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.