Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Lock Field using Business Rule

(0) ShareShare
ReportReport
Posted on by

hi Guys,

I have one doubt..Can we able to update field which is locked by using Business rules..please help

*This post is locked for comments

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Lock Field using Business Rule

    Hi Dinesh ,

    You can update locked lookup field using JS or different business rules , you should not face any issue .  Did you tried to update the field with another Business Rules ?  

    Make sure  for lookup fields set value using business rules will not work directly every environment , for that you need to migrate same lookup value with GUID in each environment .

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Lock Field using Business Rule

    Hi Dinesh,

    If you have locked the field then the field will be locked and users will not be able to update it but if you have another Business Rule then you can update locked field.

    By the way, you could have tested this yourself in the same time you may have taken to write this post. Not discouraging but suggesting as testing yourself will help you learn more. If you don't have test environment, you can create a trial here - https://trials.dynamics.com

    Also, please ensure that you close your previous threads as it will help others to quickly jump into the answers rather than going into each suggestions.

    Hope this helps.

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at
    RE: Lock Field using Business Rule

    Business rules are internally converted into Javascript. If any field is locked, but you are assigning value in script & you want that value to be saved, then use setSubmitMode(“always”)

  • Donielle_MSFT Profile Picture
    287 on at
    RE: Lock Field using Business Rule

    Hello DineshRaja,

    So that we can better assist you, can you provide additional details pertaining to the issue you are encountering?

    Warm Regards,

    Donielle

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 54

#3
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans