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

Notifications

Announcements

No record found.

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

I have the same question (0)
  • Donielle_MSFT Profile Picture
    287 on at

    Hello DineshRaja,

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

    Warm Regards,

    Donielle

  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at

    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”)

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    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
    gdas Profile Picture
    50,091 Moderator on at

    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 .

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans