Jump to content

Preventing Button Behavior


Wickerman

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

Recommended Posts

I'm struggling a bit trying to nail down all the details in a solution that has multiple levels of access.  I think I've got the Privilege Sets in place okay, as well as the custom menu sets.  What I'm trying to do now is manage Layout navigation so that people with limited access don't get taken to a lot of 'empty screens' etc.

So, I've got a Button set on a FILMS layout with two buttons Students/Films where most users can go back & forth at will.  But 'Guests' don't get access to any Student records.  So, how do I best prevent these people from clicking that button?  My first thought was just to edit the Script attached to the 'Student' button to Exit the script if his AccountPrivilegeSet was 'Guest' -- but this works okay in terms of leaving him on the current Films layout, it changes the 'Active State' coloring on the button so that the 'Student' button is now active, rather than Films.  

How can I make this so clicking on the button will appear simply to do nothing at all?

I am not looking to create custom layouts for these Guests.

Buttons.jpg

Link to comment
Share on other sites

This topic is 2739 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.