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.
Check out the News & Announcements to learn more.
Check out the new Power Platform Community Connections gallery!
Congratulations, the new Super User Season 2 for 2021 has started!
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.