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 / Set Card to Display on...
Power Apps
Answered

Set Card to Display only if in Edit Mode

(0) ShareShare
ReportReport
Posted on by 152

I am almost embarrassed to ask but here i go...  I want a card to be read only when the SharePoint form is in edit mode.  When in new mode it can be changed but when in edit mode, no changes allowed.

I presume it is something like the following but that would allow edits in DisplayMode.View...  I am guessing...  

 

DisplayMode Property = If(edit mode, DisplayMode.View, DisplayMode.Edit)

Categories:
  • Verified answer
    Manan-Malhotra Profile Picture
    621 Super User 2024 Season 1 on at

     

    If(Form1.Mode=FormMode.New,DisplayMode.Edit,DisplayMode.View)

     

    Please try it this way

    @ghutchinsMicron 

    Please Accept as Solution if it solves your question Or just give it a Thumbs Up if it is helpful because this can help others.

    LinkedIn: https://www.linkedin.com/in/manan-malhotra-vfx/

    Want to support me! Buy me a Cup of Coffee?

  • ghutchinsMicron Profile Picture
    152 on at

    Now that I see the solution...  of course.  Sincere thanks @Manan-Malhotra 

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 345 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard