Skip 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.

Assigning different layouts to different users

Featured Replies

How can i assign a specific layout to a specific user, so that when he logs in, he views a layout different from what the other users see.

The Get( AccountName ) function will do this for you.

Set up a script that has the following steps:

If [ Get( AccountName ) = "person1" ]

Go to Layout [ "Layout for person 1" ]

Else If [ Get( AccountName ) = "person2" ]

Go to Layout [ "Layout for person 2" ]

Else If [ Get( AccountName ) = "person3" ]

Go to Layout [ "Layout for person 3" ]

Else

Go to Layout [ "Layout for unknown person" ]

End If

... where "personX" is the account name of each person.

Obviously this solution requires each person's name to be hard coded into the script, which is generally a maintenance overhead because it'll have to be modified each time a new account is added. However that's the way to do it for individual users.

If, however, you wanted people to see layouts based on their *roles* then I'd suggest setting up a privilege set for each role, and assigning each person to one of the privilege sets. Then the script will be:

If [ Get( PrivilegeSetName ) = "role1" ]

Go to Layout [ "Layout for role 1" ]

Else If [ Get( PrivilegeSetName ) = "role2" ]

Go to Layout [ "Layout for role 2" ]

Else If [ Get( PrivilegeSetName ) = "role3" ]

Go to Layout [ "Layout for role 3" ]

Else

Go to Layout [ "Layout for unknown role" ]

End If

This is much lower maintenance because it's much less likely that new roles will be added very frequently. Adding new users is just a matter of assigning them to an existing privilege set and it'll all just work.

  • Author

This is exactly what i need. Thanks very much for your help.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.