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.

Check permissions when going to a layout??

Featured Replies

Hi!

Im trying to make FM8 check if the logged in user have permission to go to the layout or not, if not then I whant them to get a message about that and then return to the layout they came from?

Any ideas how to do that?

Regards Jocke

You can go to Account Privileges and create a privilege set that does not allow users to certain layouts.

Take a look at the Get (LayoutAccess) function. It does exactly what you need.

Returns:

0 if the custom layout privileges of an account's privilege set allow no access to Records via this layout.

1 if the custom layout privileges of an account's privilege set allow view only access to Records via this layout.

2 if the custom layout privileges of an account's privilege set allow modifiable access to Records via this layout.

Have your script test for this and then branch accordingly.

Steven

You can go to Account Privileges and create a privilege set that does not allow users to certain layouts.

Correct; however what is being asked is--once created--how do you test for the state or the access rights of the layout.

HTH

Steven

  • Author

Thanx for all the help! I will try it first thing on monday :

// Jocke

Guest
This topic is now closed to further replies.

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.