I would like to lock a form from being edited based on the user
Tried entering the below formula but doesn't seem to work - Not sure why
It worked for the "Visible" property but this is not what I am trying to achieve, my goal is to keep it visibile but only allow specific people to edit it
Formula used on the "DefaultMode" property of the form
Screenshot for reference:
Thanks in advance
Solved! Go to Solution.
Hi @Luka84 ,
I've tested your formula and found it is right.
However, please notice one thing: capitalization.
Using the operator of "=" will case sensitive.
So try this formula:
This works for me.
Spot on !!
I added the formula to the OnEdit property of my SharePointIntegration and it worked like a cham 😃
Thank you so much for your help
Formula for reference:
Refresh('CASH APPROVAL'); EditForm('02.USER'); EditForm('01.HEADER') ; EditForm('04.SERVICES'); If((User().Email="email@example.com"),EditForm('03.CASHIER'),ViewForm('03.CASHIER')); Navigate(OVERVIEW, ScreenTransition.None)
Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.
Check out the new Power Platform Community Connections gallery!