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.

Custom menus and access privileges

Featured Replies

Hi all,

In my solution, I have scripted most functions so that the standard menu commands are not needed, or rather, shouldn't be used. As such, I have created a custom menu set that removes all commands that aren't necessary.

But now I can go in and select the Standard FileMaker commands from the Tools menu to bring up a standard menu set anyway. Is that just because I have FMA rather FMP and does that mean anyone with FMA can change to the default menus as well?

I thought the menu set would somehow be tied to the privilege set, but there doesn't seem to be a way to select one.

What am I missing here?

Thanks,

You can do it because you're logged in with full access.  Your users wouldn't be (hopefully) so they would get the custom menu you assign.

  • Author

I see, so there's no connection between a custom menu set and a particular set of access privileges. That explains it, then.

Thanks!

You can specify a default menu set for the file, in the custom menus dialog, and you can specify a default menu set for each layout. Other than that, you would control custom menu loading via scripts, where you can check a user's privileges and assign a menu set accordingly. But as Wim noted, you can't lock a full access user out of the Tools menu.

  • Author

Just thinking... I have a global variable 'debug' in my files that, when set to 1,  does or does not a bunch of things while I develop. I can then just reset this to 0 to see how the file behaves to a normal user. I would be great to have the custom menu set look at this variable and when it's 1 it would always install the standard menu set.

I find it distracting to have FM always revert to the custom menu set while developing. Is there some other way to prohibit this?

In your OnOpen script, detect whether you are logged in with Full Access and use the "install menu set" for the default menu set and toggle the option to use as file default.

  • Author

Thanks, Wim! That did it.

 

Edited by stefangs
tested

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.