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.

If Get(PrivilegeSetName) via IWP

Featured Replies

Is there a way to have a start-up script with different behaviors depending on Privilege Set name work with IWP? I have made a script that does the following:

If Get(PrivilegeSetName) = UserPrivilegeSet

Go To Layout "Main"

Else

Go To Layout "Menu"

When accessing via FM Network (I'm using FM Server 7 Advanced) this works fine, however, as soon as I access through IWP the script moves to my Else step. Any ideas?

As usual, thanks in advance to all who reply.

If Get(PrivilegeSetName) = UserPrivilegeSet

Go To Layout "Main"

Else

Go To Layout "Menu"

If (Position (Get ( ExtendedPrivileges ); "fmiwp";1;1) > 0)

Go To Layout "Main"

Else

Go To Layout "Menu"

  • Author

In my script, the item UserPrivilegeSet is a field that contains the name I have given to the set for that user. In the one you give as an example, would I be right to assume it just allows for anyone accessing via the web. I will need to have different sets users access via the web and have them run different parts of the startup script. Is there a way to match the privilege set name in an if script step which works on IWP as well as Filemaker Network?

  • 2 weeks later...

If [PatternCount (Get ( PrivilegeSetName ); "UserPrivilegeSet") > 0

or

Position (Get ( ExtendedPrivileges ); "fmiwp";1;1) > 0]

Go To Layout ["Main"]

else

Go To Layout ["Menu"]

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.