Read-only column in Model Driven apps in 5 Steps

Intro

How can I make a field editable only to certain users in model-driven apps?
There are several ways, and taking advantage of the functionality provided by field level security is one of them.

Steps

1 – Go to the App designer(https://make.powerapps.com), select the environment you want to work in, then go to solutions, open your solution, locate the table and column (now they entities and attributes are called tables and columns in Dataverse) you want to make read only click on its name.

The properties panel will appear on the right hand side. Expand the advanced options and then select the Enable column security option. When clicking Done, a small icon must  appear next to the column name. Then click on Save Table.

2 – Go back to your solution, then select add new, then Other, Column security profile.

3 – On the form give it a name, and Click on Save.

4 – Go to field permissions, select the column you want to hide and click on Edit. Change the Allow Read option to yes, and leave the other two to No. Click on OK.

5 – Select the Teams and Users sections on the left to add the users or teams you want this rule to apply to.

Final

To test this, access the record with a user belonging to the team you selected in the security profile. You will notice a lock icon next to the field with the field level security applied.
The field level security doesn’t apply of your user has a System Administrator role.

If you want to receive updates about all the Power Platform things we share here, you can suscribe to our blog.

Subscribe to our newsletter