
Last week had an app blow up and threw all kinds of errors. I found the issue but no idea what caused my problem. Restoring to a previous version did not roll back problem either.
I have a variable set as follows:
Set(frmMode, Enable)
Last week anywhere I defined that variable changed to the following:
Set(frmMode, 'Microsoft.PowerApps.PowerAppsOneGrid.ColumnHeaderMenu'.Enable)
My published app NEVER crashed. And if I rolled my app back to previous version - error was still present. It feels like make.powerapps.com interface began handling Enable differently?
I fixed my issue to define variable as follows:
Set(frmMode, DisplayMode.Edit)
For what I was trying to do above is the correct way I should have defined frmMode Does anyone know if Microsoft pushed an update to would change how Enable functioned? Trying to find release notes or something to help explain crash.
Ian
Below are the recent Power Apps Studio Versions like you I could not find anything that specifically highlighted a change to enable:
| Version | First available | Worldwide availabilty |
|---|---|---|
| 3.23042 | Apr 10, 2023 | May 01, 2023 |
| 3.23041 | Apr 03, 2023 | Apr 24, 2023 |
| 3.23034 | Mar 27, 2023 | Apr 17, 2023 |
| 3.23033 | Mar 20, 2023 | Apr 10, 2023 |
| 3.23032 | Mar 13, 2023 | Apr 03, 2023 |
I agree that you need to use the DisplayMode property to change the state of fields. I cannot see anything to say that you could use the Enable functionality you described and that it was removed recently.
Hopefully you can find what you are looking for
🙂