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 / Make fields View Only ...
Power Apps
Answered

Make fields View Only upon Edit

(1) ShareShare
ReportReport
Posted on by 64
I am using the Power Apps functionality to customize a list form and also very new to the process.  The form requires entry of all fields for a new entry, but I would like to make most fields View only for editing.  There are just a view fields that can be edited, the rest need to remain untouched.  What is the best way to handle this using Power Apps to customize the SharePoint List form? 
 
I tried to set the Display Mode of one field to 
 DisplayMode.View
but that made the field display only for new entries as well. 
 
Thank you
Categories:
I have the same question (0)
  • Verified answer
    Robu1 Profile Picture
    1,692 Super User 2026 Season 1 on at
     
     
    Thank you for choosing Microsoft Community.

    To make most fields view-only for editing while allowing all fields to be entered for new entries, you can use conditional logic in Power Apps.
     
    Here's a step-by-step guide:
     
    Steps to Customize SharePoint List Form in Power Apps
     
    Open Power Apps Studio:
    Go to your SharePoint list.
    Click on Integrate > Power Apps > Customize forms.
     
    Unlock Data Cards:
    Select the data card you want to make view-only.
    In the right-hand pane, click on Advanced and then Unlock to change properties.
     
    Set DisplayMode Property:
    For each field you want to be view-only during editing, set the DisplayMode property to:
     
    If(
        SharePointForm1.Mode = FormMode.New,
        DisplayMode.Edit,
        DisplayMode.View
    )
     
    This ensures the field is editable when creating a new entry but view-only when editing an existing entry.
     
    Repeat for All Relevant Fields:
    Apply the same logic to all fields you want to be view-only during editing.
     
    Example:
    For a field named Title_DataCard1, set its DisplayMode property to:
    PowerApps

    If(SharePointForm1.Mode = FormMode.New, DisplayMode.Edit, DisplayMode.View)
     
    This approach allows you to control the editability of fields based on the form mode, ensuring that fields are editable when creating new entries but view-only when editing existing ones.
     
    Here's some documentation on  customising a sharepoint list form in Power Apps:
     
    Does this help with your customization?
     
     
    If this fixes the issue, please mark as resolved to help others with find it.
    Happy to help 
    Robu 1
     
  • WarrenBelz Profile Picture
    155,352 Most Valuable Professional on at
    Disregard - answered after I refreshed.
     
  • tverticchio Profile Picture
    64 on at
    Perfect.  Thank you

    I tried to mark the Suggested Answer as Answered my question, but the check mark doesn't seem to save.  
  • WarrenBelz Profile Picture
    155,352 Most Valuable Professional on at
    I have marked it 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 860

#2
Valantis Profile Picture

Valantis 548

#3
Haque Profile Picture

Haque 417

Last 30 days Overall leaderboard