Announcements
Hi,
I have a customized PowerApps form based on SharePoint list. In the PowerApps need to disable display mode of a field (field name = TestName1) for all users and enable only for users in a SharePoint group (SharePoint group = Managers).
If the logged user is in the SharePoint group then field (TestName1) should be view.
Is there any suggestion?
Thanks.
Hi @sachk1 ,
You will need the Group ID (the xxxxxxxx-xxxx-. . . .) for this as below
With( {wManager: Office365Groups.ListGroupMembers("xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx").value}, If( User().FullName in wManager.displayName, DisplayMode.Edit, DisplayMode.Disabled ) )
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
MVP (Business Applications) Visit my blog Practical Power Apps
Hi, What is mean by putting w in wManager?
@sachk1 ,
You can call that whatever you want - it is just my naming protocol for With() Variables. I have a blog that may interest you.
Thank you.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 335 Most Valuable Professional
11manish 166
sannavajjala87 71 Super User 2026 Season 1