Disable/Hide panel for not(fn-IsMemberOfGroup) on Responsive forms


Badge +1

I am using responsive layouts on SharePoint Online and I want a panel to be visible for a particular SharePoint group members only (GMI is the group name). So I am trying to create a disable rule by using not(fn-IsMemberOfGroup(GMI)). But apparently it is not recognising the current user (display user) so it is disabling the panel all the time no matter who the user is. Am I missing a step here?


3 replies

Userlevel 5
Badge +13

Hi Antonio Reyes‌,

Is the GMI group an AD group? The fn-IsMemberOfGroup will only look inside SharePoint groups.

Cheers,

Euan

Badge +1

Hi Euan,

Thanks for jumping to the conversation. No, it is a SharePoint Group.

Cheers,

Antonio

Userlevel 5
Badge +13

Hi Antonio Reyes‌,

Are you using the control settings Visible option with expression?

218006_pastedImage_1.png

Cheers,

Euan

Reply