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.

Script conditions based on priviliges

Featured Replies

Hi Gang,

Sorry this might be a newbie question. I want to have two sets of priviledges. One full, one limited. When loading my application, I want to determine which layout to go to depending on the user privileges. Can someone please point me in the right direction as to how I would script this? I know about setting up the startup script, I just don't know how to start scripting.

Many thanks,

Nando

Use the Get(PrivilegeSetName) function in an IF script step to test for the privilege set. It might look like this:

If [Get(PrivilegeSetName) = "[Full Access]}]

Go to Layout ["All Fields" (MYTABLE)]

Else

Go to Layout ["Less Fields" (MYTABLE)]

End If

You can add Else If steps if you want to check for more than 2 privilege sets.

  • 2 weeks later...
  • Author

Wonderful, thank you so much!!

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.