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.

Featured Replies

Hi

I would like to be able to set a database so when a user logs in with his account password he is taken to his required layout, Such as Peter log's in and is taken to layout A and Paul would log in and be taken to layout B. Is this possible in FM7.

Lucky

There would be several ways of doing this via scripts.

Perhaps the simplest would be a script that looks at the accountname and goes to the appropriate layout


if [get(accountName)="Peter"]

    go to layout ["Layout A"]

elseif [get(accountName)="Paul"]

    go to layout ["Layout B"]

elseif [get(accountName)="Mary" or get(accountName)="Sally" ]

    go to layout ["Layout C"]

else

    #general layout

    go to layout ["General"]

end if





Otherways of doing can be using privilege sets -- multiple users can fall under the privilege sets.



if [get(privilegeSet)="Developer"]

    go to layout ["Layout A"]

elseif [get(privilegeSet)="Administrator"]

    go to layout ["Layout B"]

elseif [get(privilegeSet)="Editor" or get(privilegeSet)="User" ]

    go to layout ["Layout C"]

else

    #general layout

    go to layout ["General"]

end if

  • Author

That's done the trick.

Thanks

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.