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 / Read Only at Field Level
Power Apps
Answered

Read Only at Field Level

(0) ShareShare
ReportReport
Posted on by 67

Dear All,

I would like to implement a Model Driven App in which I apply Read Only/Locking on field level.

I have the following table:

PietPoelsma_1-1658761689622.png

 

Depending on the value in the column M1_LOCKED, M2_LOCKED and M3_LOCKED, I want the associated fields in the columns M1, M2 and M3 to be editable or read only...

 

So IF M1_LOCKED = FALSE THEN M1 is Editable ELSE M1 is Read Only

 

Best regards,

Piet 

I have the same question (0)
  • Verified answer
    AhmedSalih Profile Picture
    6,680 Moderator on at

    @PietPoelsma, use the Business rules to implement this use case. 

    AhmedSalih_0-1658762513823.png

     

    More info https://docs.microsoft.com/en-us/power-apps/maker/data-platform/data-platform-create-business-rule

     

    Regards,

    Ahmed

    If my reply helped you, please give a 👍. And if it has solved your issue, please consider a 👍 & Accepting it as the Solution to help other members of the community find it more.

    My Blog: www.powerplatformplace.com

  • Verified answer
    Ram Prakash Duraisamy Profile Picture
    5,699 Super User 2026 Season 1 on at

    Hi @PietPoelsma 

     

    There are multiple ways available

     

    1. You can write Business Rules

    2. You can write JavaScript 

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA

    Blog : https://microsoftcrmtechie.blogspot.com

  • PietPoelsma Profile Picture
    67 on at

    Hi @AhmedSalih  and @rampprakash 

     

    Thanks for your replies.

     

    Is it possible to change the layout, like font, color, shading, of locked fields in a View so it clearly shows they are locked?

     

    In a Form it shows with the lock symbol, that's fine.

  • PietPoelsma Profile Picture
    67 on at

    Hi @AhmedSalih  and @rampprakash 

     

    Thanks for your replies.

     

    Is it possible to change the layout, like font, color, shading, of locked fields in a View so it clearly shows they are locked?

     

    In a Form it shows with the lock symbol, that's fine.

  • PietPoelsma Profile Picture
    67 on at

    Hi @rampprakash and @AhmedSalih 

     

    And another question: How do you prevent that locked fields are updated via an Excel import?

    I saw now that it is possible to update a locked field via an Excel Import!🤔

     

    Kind regards,

    Piet

  • Ram Prakash Duraisamy Profile Picture
    5,699 Super User 2026 Season 1 on at

    Hi @PietPoelsma 

     

    No for 100% Sure, it is Possible.

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Follow me on Twitter : @rampprakashd
    Blog : https://microsoftcrmtechie.blogspot.com

  • PietPoelsma Profile Picture
    67 on at

    Hi @rampprakash 

     

    That's what you get when you ask more than 1 question 😀

    To which question do you answer with "No for 100% Sure, it is Possible."?

    1. Is it possible to change the layout, like font, color, shading, of locked fields in a View so it clearly shows they are locked? If so, how?
    2. How do you prevent that locked fields are updated via an Excel import?

     

    Kind regards,

    Piet

     

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard