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="firstname.lastname@example.org"),EditForm('03.CASHIER'),ViewForm('03.CASHIER')); Navigate(OVERVIEW, ScreenTransition.None)
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Join us for the next call on June 15, 2022 at 8am PDT.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.