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 for different privilege sets

Featured Replies

Hi,

We have a User privilege set, for whom we want to deny access to certain menu options, for example: Records, Duplicate Record.

We also have an Admin privilege set, for whom we want to have access to all menu options.

The default menu set in the file, and the default menu set for all layouts is the Standard FileMaker Menus.

We have a script setup in a file, like so:

If [Get ( PrivilegeSetName ) = "User"]

Install Menu Set ["Custom Menu Set"]

End If

This works really well, until we use:

Go to Layout [x]

As this effectively brings back all the menu options...

Doing it the other way around is not really an option either (by setting the default to be the Custom Menu Set, and setting up the script so that it installs the FileMaker Standard Menus for the Admin user) as this would mean that each time an Admin user wanted to use a particular menu function which was not available, they would need to run a script to restore the FileMaker Standard Menu...

We used to use a plugin for all this, but thought that with the introduction of Custom Menu Sets in 7/8 we wouldn't need to anymore.

Any thoughts at all please?

Thanks very much,

jd.

  • Author

Hi,

Well, we're thinking of going back to Secure FM to control the menus, unless someone else has a better idea???

Thanks,

jd.

Before you go to Secure FM, look at Menu Control from Dacons International. While the plugins have some overlap, they really are different animals and you may find Menu Control's features more useful.

Steve

  • Author

Hi,

Thanks, we'll evaluate that one before any purchases.

Cheers,

jd.

Why not create custom menus based on priviledge sets?

Use FM Advanced.

  • Author

Hi,

Please refer to the first post. This is possible, but Privilege Sets are Layout specific.

Cheers,

jd.

I recommend you do use SecureFM. It is [color:red] by far the best UI control plug in and UI control approach that there is.

Depending on the privileges associated with a specific Privilege Set, users can destroy the Custom Menus with surprising ease. The problem you're seeing is caused by the fact that all navigation in the scenario your system runs under [color:red] must be scripted to include installation of the Custom Menu Set. These menu sets fall outside the granularity rules of the security schema, and that is one of their major shortcomings.

Steven

  • 3 weeks later...

This isn't a problem just call your custom menu script from you main navigation script. There should be no unscripted navigation in your solution so this shouldn't be a problem. See my attached example.

-Mark L

Data_Entry_Script.pdf

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.