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 / Simple Open Close Field
Power Apps
Answered

Simple Open Close Field

(0) ShareShare
ReportReport
Posted on by 202

Hi

I have a form that has a Status field which is defaulted to 'Open' - the user will not be able to change this. Should I use option Disable or View for this?

When the manager goes in to update the report in a different screen I want them to have the functionality to close the report by drop down, simple Open to Closed and then populate the datasource with the selected option.

The datasource is Excel

Any direction would be appreciated as I did have this working now it's not playing ball.


Categories:
  • Verified answer
    russelln1 Profile Picture
    202 on at

    It's ok, this has been resolved. I found where the error was in the Update function

  • Silvester. Akakpo Profile Picture
    783 on at

    hello @russelln1 , 
    The status field should be Disabled... It is more convenient that way.
    For the manager aspect, you can define a condition in the field display mode, You can hard code this using the various managers (if you have more than one) emails in there.

    if(User().Email="manager@email.com",Displaymode.edit,Displaymode.disabled)
    // INcase you have more
    if(User().Email in ["manager@email.com","manager1@email.com",... "managerX@email.com"],Displaymode.edit,Displaymode.disabled)

    Please accept as a solution if it works for you.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 188 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 120

Last 30 days Overall leaderboard