Skip to main content
Nintex Community Menu Bar

Hide group if current user display name not contained in field


Forum|alt.badge.img+6

I’m using the New Responsive Form Designer for 365 on a Sharepoint Online list. I have a group on the form that should only be visible if the current user is present in a pre-filled people picker field. These are basically the admins. The people picker field will have more than one user listed. 

I have a temporary label, for testing, that displays the current user display name and it matches perfectly the way the name is presented in the people picker field. I cannot get the hidden group to display however.

This seems like it should be pretty straight forward, but I’m not having any luck. What am I doing wrong? 

 

Translate
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img+6
  • Author
  • 25 replies
  • April 26, 2024

Anyone able to assist with this? Since there are no errors, I’m unable to obtain customer support directly. They’ll say this is a configuration issue, not a break/fix one. 

Translate

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • 2436 replies
  • April 28, 2024

Hi @GoIllini,

If you add an ELSE to say Hidden Test, Visible, No.  Does that resolve the issue?

Translate

Forum|alt.badge.img+6
  • Author
  • 25 replies
  • April 29, 2024

unfortunately, no change

Translate

Forum|alt.badge.img+6
  • Author
  • 25 replies
  • May 13, 2024

I have discovered a workaround. From what I observed, the contextual “current user display name” only works in this condition if the people picker field you’re comparing it to only has one name. If the people picker field contains multiple users, it will not work. 

I put a hidden field on the form that has the contents of the people picker field as a text box. I then compare “current user display name” to this hidden text box, which contains multiple people, and the condition executes and properly displays/hides the panel as expected. 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings