Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Fields on Form not locking / unlocking.

(0) ShareShare
ReportReport
Posted on by 80

Hi all,

I'm rather new to Dynamics CRM an am running into the following issue: I removed the lock from some fields on a form. Now I want to add the lock again on one of these fields. It seems that I can't get any locks on any field anymore, no matter what I try. On the form in my solution, the field is displayed as locked, however in CRM it remains unlocked. 

I've tried this multiple times. Of course I double checked if I saved and published.

Any thoughts on this?

Many Thanks!

  • Wahaj Rashid Profile Picture
    Wahaj Rashid 11,321 on at
    RE: Fields on Form not locking / unlocking.

    Glad it worked :)

  • JD_G Profile Picture
    JD_G 80 on at
    RE: Fields on Form not locking / unlocking.

    Sorry for the late response, but your answer was very helpful. I was looking for the setting belonging to the "lock"-icon. In stead of using the option "lock", Microsoft decided to use "read only".

    Thanks!

  • Verified answer
    Wahaj Rashid Profile Picture
    Wahaj Rashid 11,321 on at
    RE: Fields on Form not locking / unlocking.

    Hi,

    By lock, did you mean making the field read only?

    If yes, please check Field is Read-only property in field properties, as shown below:

    field_2D00_read_2D00_only.PNG

    The lock property you mentioned is to make sure field is not removed from the form (this is to avoid dependency issues). For instance, if you refer a field in Java Script and it is not available on the form, it will throw exception. Hence, we lock the field so we do not remove it accidentally.

    Hope this solves your problem.

    Best,

    Wahaj

    (if it helps, mark it verified)

  • JD_G Profile Picture
    JD_G 80 on at
    RE: Fields on Form not locking / unlocking.

    Thanks for your response! I'm not shure how to check if there's any java on the form, so I'm guessing this is not the case. Below are the steps I take:

    First, here's how my form looks:

    34425.png

    Second, here's the form in my solution. You'll notice there's a difference in locks on fields:

    7357.png

    I then change some field locks (left, bottom):

    0804.png

    I save and publish:

    5344.png

    I refresh my browser and the form hasn't changed:

    0068.png

    Any ideas?

  • Ana Almeida Profile Picture
    Ana Almeida on at
    RE: Fields on Form not locking / unlocking.

    Hello, 

    Do you checked if you have some javascript in the form that is locking the fields?

    If is not the case, can you share here the steps and screenshots?

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,514 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans