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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Editable grids - read only fields are NOT read only

(0) ShareShare
ReportReport
Posted on by 608

I have upgraded our sandbox to Dynamics 365 and have enabled editable grids for my Opportunity entity.  I was expecting field security to persist in the editable grid, but I AM able to edit fields that need to remain read only.

For example, we have a workflow that auto-populates the Topic field on the opportunity using information from several other fields.  The field is set to read-only, but in the editable grid, I AM able to change the Topic.

 Why is this?  What can I do to keep the field read-only?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    vduggineni Profile Picture
    5 on at
    RE: Editable grids - read only fields are NOT read only

    Simply create a calculated fields to represent the Topic attribute you wish to display as read-only.  Use this field in the view et voila!

  • Community Member Profile Picture
    on at
    RE: Editable grids - read only fields are NOT read only

    I have implemented field level security on certain fields and I see that they are locked on the grid (I see the key icon) and yet I can still edit the fields in the editable grids. Is there something I am missing?

    Thanks!

    Bryan

  • Verified answer
    Nithya Gopinath Profile Picture
    17,078 on at
    RE: Editable grids - read only fields are NOT read only

    Hi Barbara,

    One of the limitations of the editable grids is that it doesn’t respect read-only fields on the form since that isn’t a legitimate way to control security.  To prevent users from editing these fields, you’ll need to either add field-level security to the field, not put that field in the view, or write JavaScript. Read-only fields on the form aren’t read-only! Making a field read-only on a form, only applies to that form.

    See: neilparkhurst.com/.../dynamics-365-editable-grids

           community.dynamics.com/.../dynamics-365-editable-grids

    Hope this helps.

  • Verified answer
    Nadeeja Bomiriya Profile Picture
    6,804 on at
    RE: Editable grids - read only fields are NOT read only

    Hi Barbara,

    Please make sure the Scope of the Business Rule is set to Entity.  I just tested this and it works.

  • Barbara Forsman Profile Picture
    608 on at
    RE: Editable grids - read only fields are NOT read only

    Thanks Scott!

    I added a Business Rule that locks 5 fields if Topic contains data, saved, published, and refreshed but I am still able to edit the fields.  

  • Suggested answer
    ScottDurow Profile Picture
    21 on at
    RE: Editable grids - read only fields are NOT read only

    Hi,

    Editable grids will honour field level security - but not when you set a field to read only on a form. To do this you will need to create a business rule to disable the field.

    Hope this helps

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#3
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans