how do you make a form panel only visible to a specific person(s)?
Hi there:
A specific person (Ie, Fred in Accounting) or a specific person type (ie, The Employee's Manager, or, HR)
In both situations, you'll use a Validation rule.
In this rule, you'll tell it under what condition you want to hide the panel. If you click on the panel, click the "hide" checkbox, then add a rule, you can say something like " not(userEquals(variable:Manager))" - so if the user isn't equal to the variable where you've named the manager, then, hide.
Here's a pretty interesting question from someone else - different requirements but will show the validation ...
Then there is Sean's way as well, using operators (like == or != ).. so "Manager != CurrentUser" then hide.
Let me know if this helps.
Thank you for your help! I will give that a try.
I am pretty new to this, could you please tell me how to assign a sharepoint group to a variable? I would like to hide a panel for everyone but this sharepoint group. Thanks!
Thank you! I really appreciate your help!
I get a message “there are some problems with the design of this form…. Error: ‘isMemberofGroup’ is undefined
Maureen Eversmeyer
Hey Maureen, try fn-isMemberofGroup
That worked! Thank you so much!
Maureen Eversmeyer
All in a day's work!
Reply
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.