Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Lookup field in Editable Grid - Make Read Only

Posted on by 175

Hi, 

We have a field for 'Division' (Lookup to Territory) that needs to be Read Only on the Deal (Opportunity) Editable Grid.  We cannot make this field a calculated field (which would lock it on the Editable Grid) since it is a lookup, nor can we make it a text field - calculated and populate a lookup value there.  Is there any other way to make this lookup field on an Editable Grid Read Only, other than JScript?

Open to thoughts/suggestions...

Thanks!

  • William Bradley Profile Picture
    William Bradley 175 on at
    RE: Lookup field in Editable Grid - Make Read Only

    Thanks David.  Field-leve security is not an option here.  As far as a calculated field, if we set the text field as calculated we cannot populate the lookup value there via WF.  It is looking like JScript is the only option.  Thanks.  

  • David Jennaway Profile Picture
    David Jennaway 14,063 on at
    RE: Lookup field in Editable Grid - Make Read Only

    You could use field-level security if you want to prevent updates via any means (i.e. via the form, as well as the editable grid).

    Another option could be to create a separate text field that is populated from the lookup and make this non-editable (either a calculated field or via field-level security), and use this field in the editable grid, rather than the lookup field

  • Suggested answer
    rthompson Profile Picture
    rthompson 1,530 on at
    RE: Lookup field in Editable Grid - Make Read Only

    As of now the only away to disable a column in a grid you have to use javascript

    https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/246079/want-to-lock-certain-fields-on-editable-grids-as-per-value-of-a-field-on-the-form

    You can also put in a Microsoft request for that

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans