web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to make sections (...
Power Apps
Answered

How to make sections (or fields) of a Entity Main Form only visible (or editable) for specific users (or security roles)

(0) ShareShare
ReportReport
Posted on by 156

Hi,

 

I have created a Entity Main Form with 3 different sections : Employee, HR and IT sections.
I have also created a Business Process Flow associated to my Entity with 3 Stages that will help to gradually fill in the form.
I would like first the employee to fill in the Employee Section, then HR to fill in its dedicated section and finally IT to complete the form through the implemented Business Process Flow.

Also, I would like the Employee, HR and IT to be the only ones to be able to see (or to edit) their dedicated section.

 

How can I achieve this ?

 

Thanks,

 

Arioule

I have the same question (0)
  • Verified answer
    Joel CustomerEffective Profile Picture
    3,224 on at

    You can do that with field level security.

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/admin/field-level-security

     

    You need to first define the fields to be secure on field configuration in CDS.

     

    Then configure field security profiles based on roles. Note this is not yet in the modern settings experience, so you need to go to advanced settings to manage your field security profiles

     

    from classic settings go to Security-->Field Security Profiles. 

    create field security profile for the role(s)

    set security setting for fields. the permissions available are:

    • Read. Read-only access to the field’s data.

    • Create. Users or teams in this profile can add data to this field when creating a record.

    • Update. Users or teams in this profile can update the field’s data after it has been created.

    A combination of these three permissions can be configured to determine the user privileges for a specific data field.

     

    Note--this doesn't hide the field or sections on the form, but it secures the data at the platform layer, so no matter how people interact with the data (reports, model apps, canvas apps, excel output, etc) that will not see the data.

     

    If you want to selectively hide the field on a form based on role, you need to use JavaScript.

  • Verified answer
    Joel CustomerEffective Profile Picture
    3,224 on at

    for form visibility, the non code way to do it is to create three different forms and associate the appropriate role with the appropriate form. Security settings in model-driven forms allow you to specify specific roles get access to a form, so you can have a HR form that has the HR section and only HR people can see it.

     

    You will want to pair this with field level security if you have "real" field security requirements, not just convenience view filtering.

  • Arioule Profile Picture
    156 on at

    Thanks a lot for your help

  • Yuva_saran1219 Profile Picture
    12 on at

    Hi,

    This can be achieved by using "Field-level Security" access. Whenever you create a new field, you will be able to see an option for enabling the permission at the entity level. You can enable this option for more than one entity. You can access the three levels of controls are:

    Read

    Create

    Update

    I have attached the following link for your reference.

    https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/admin/field-level-security?view=op-9-1 

     

    If you want more information about this topic, please reach us at https://www.dynamicslabs.io/ 

     

    Regards,

    Yuvarani.

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard