I have an 'Edit' form with DefaultMode set to 'View', which I want to change to 'Edit' by clicking a button. I tried to use a variable and set the variable to Displaymode.View and DisplayMode.Edit when clicked, but it gives to following error:
The property expects Enum values, but this rule produces incompatible Text Values.
Solved! Go to Solution.
You could simply use the EditForm function to put your form into Edit mode.
On the OnSelect of your button, place this formula: EditForm(yourFormName)
I hope that is helpful for you.
Join us for the next call on August 17, 2022 at 8am PDT.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.