Skip to main content
Nintex Community Menu Bar

Make a text field visible for 4 user groups.

  • August 2, 2021
  • 5 replies
  • 6 views
  • Translate

Forum|alt.badge.img+3

Hello everyone,

 

I have a question.

 

I would like to make a textbox visible to multiple SharePoint groups.


Currently the textbox is only visible for one SharePoint group:
fn-IsMemberOfGroup("Partner Group")

 

I have already tried to add an OR function, but it didn't really work:
fn-Or(fn-IsMemberOfGroup("Test1 Group"), fn-IsMemberOfGroup("Test2 Group"))

 

Are there any tips what else I can try?

 

Many greetings

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

5 replies

Forum|alt.badge.img+12
  • Apprentice
  • 292 replies
  • August 2, 2021

Hi,

Try this way

fn-IsMemberOfGroup("Test1 Group") || fn-IsMemberOfGroup("Test2 Group") || fn-IsMemberOfGroup("Test3 Group") || fn-IsMemberOfGroup("Test4 Group")

Hope this help!

Translate

Forum|alt.badge.img+12
  • Rookie
  • 648 replies
  • August 3, 2021

@FlorianZ17 you can also try to use the nested If statement.

Translate

Forum|alt.badge.img+3
  • Author
  • 10 replies
  • August 3, 2021

Hello @kchaluvadi 

 

I tried your solution and at first it looked fine. Unfortunately, when I tested it, I realized that not only the four groups can see the text box.

 

fn-IsMemberOfGroup("Independence Gruppe") || fn-IsMemberOfGroup("Corporate Responsibility Gruppe") || fn-IsMemberOfGroup("People Gruppe")

 

I have also tried it with and without ".

 

If I only say fn-IsMemberOfGroup("Independence Gruppe") it works.

 

Do you have another idea?

 

Kind Regards,

 

Flo

Translate

Forum|alt.badge.img+11
  • Scholar
  • 140 replies
  • August 3, 2021

@FlorianZ17  Below works for me:

 

Or(fn-IsMemberOfGroup('Group1'),fn-IsMemberOfGroup('Group2'))

Translate

Forum|alt.badge.img+12
  • Rookie
  • 648 replies
  • August 3, 2021

@FlorianZ17 try below IF statement instead of Or

  • Add a calculated control i.e. ctrl_check_group:
    If(fn-IsMemberOfGroup("Independence Gruppe"), True, If(fn-IsMemberOfGroup("Corporate Responsibility Gruppe"), True, If(fn-IsMemberOfGroup("People Gruppe"), True, False)))
  • If ctrl_check group is !True then disable your text control 
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