Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7189 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Does anyone know of a script that will forward specific users (referenced by the entry of their password) to specific layouts? I know you can assign specific layouts that can be viewed only by certain users, but it does not include forwarding based on the enttry of a password.

I'm running FMP 6.

Posted

Supposing that you have a (text) field that houses the user's password, then it's just a matter of if statements.

If [userspass = "gorilla"]

Goto layout [water]

If [userspass = "monkey"]

Goto layout [earth]

Else

Goto layout [fire]

End If

Or something to that effect. Since you don't want certain users to view certain layouts, make sure that the layout(s) doesn't show up in the layout menu (under the layout setup).

Posted

Where does the password get entered? There is no way to access the password entered during authentication (for obvious security reasons).

If you are using FMP 7 then set up the accounts and privileges correctly, one for each user. Then use the Get(AccountName) function to display layouts on a by-user basis. Even better (and less work in the long run) assign each user to a privilege set, and display the layout based on the Get(PrivilegeSet) result.

This topic is 7189 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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