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)

Check if field is locked on Business Process

(0) ShareShare
ReportReport
Posted on by

Hello everyone :)

Maybe is a dumb question, but I am still new in CRM. :)
Is there a way that I can check if a field on a business process is locked or not? Whether is with Business Rule or JScript. Preferrably Business Rule.

Thank you. :)

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Pawar Pravin  Profile Picture
    5,237 on at

    Hi ,

    Its seems like you need to check if that particular field is locked or enabled.

    Please do use following js syntax to check:

    var IsDisabled = Xrm.Page.getControl("header_process_logicalnameoffield") ? Xrm.Page.getControl("header_process_logicalnameoffield").getDisabled() : false;

    For further details please do refer:

    neilparkhurst.com/.../javascript-work-with-fields-in-header-and-business-process-flow

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    In addition to Pravin you can have a look below reference for all the properties which you can get from a control  -

    docs.microsoft.com/.../gg334266%28v%3dcrm.8%29

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