web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Enable vs. DisplayMode...
Power Apps
Answered

Enable vs. DisplayMode.Edit

(0) ShareShare
ReportReport
Posted on by 2

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

Categories:
I have the same question (0)
  • Verified answer
    AJ_Z Profile Picture
    3,711 Super User 2024 Season 1 on at

    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

    🙂

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 491

#2
WarrenBelz Profile Picture

WarrenBelz 407 Most Valuable Professional

#3
11manish Profile Picture

11manish 331

Last 30 days Overall leaderboard