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.

preventing access to layout via script

Featured Replies

i have buttons on a "splash" layout that directs users to specific layouts.

 

each user has their own set of permissions. some permissions prevent users from viewing certain layouts - however if they click a button to access that particular layout, the NO ACCESS greyed out screen appears, and the application needs re-starting to use. i have written a script to verify the permissions to prevent this, however I want to clarify what permissions can access the layout:

 

If [get(accountprivilagesetname) = "[Full Access]" or "[Privilege Set A]"]

go to layout...

else

exit script

 

the first privilege set is recognized by filemaker and permits the user to go to the layout, however, if the user is logged in under the "[privilege set A]" privileges, the script exits as the ELSE function indicates. what is the best way to clarify more than one privilege set as it seems the OR function doesn't work?

If [get(accountprivilagesetname) = "[Full Access]" or get(accountprivilagesetname)="Privilege Set A" )

You might also look at the Get(LayoutAccess) and Get(RecordAccess) functions to assist you in managing what your users can do in the file.

 

Steven

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.