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 / How to make an auto po...
Power Apps
Answered

How to make an auto populated field read only

(0) ShareShare
ReportReport
Posted on by 116

Hi, 

 

I am customizing a sharePoint list form and I auto-populate two Person fields on the form with current logged in user and the manager of the current logged in user. Since I am auto-populating these values, I do not want the user to edit these fields. How can I make these fields read-only for end users ? I looked for Disabled property and I can't find the property.

 

Please advise? 

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    On the PowerApps form, select DataCardValue of the cards you want to have as View only, go to properties, Display Mode and change to "View". You can also find it on the left side options when selecting the field you want to change (See image).

     

    image.png

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @cooltechie,

    Do you want to make the two Person fields within your Edit form read only?

    I have made a test on my side, please take a try with the following workaround:5.JPG

    Unlock the corresponding Data card which contains the Person field, then set the DisplayMode property of the Combo Box control to following:

    DisplayMode.Disabled

    Set the DefaultSelectedItems property of the Combo Box control to following:

     {
     '@odata.type':"#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
     Claims:"i:0#.f|membership|" & Lower(User().Email),
     DisplayName: User().FullName,
     Email: User().Email
     }

    Best regards,

    Kris

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard