Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

Disabling fields in Business Process Flow

Posted on by 110

Hello everyone,

I need to disable certain fields from the business process flow for certain users/teams so they won't be able to edit them. I read somewhere that it is possible with javascript. But how do you set the validation then so only specific users/teams can edit those fields?. I also tried using "Field Security Profiles" but was not able to disable the required fields. Is there a clear process for achieving this task? . Thanks in advance

  • Verified answer
    GeeBee Profile Picture
    GeeBee 11,397 on at
    RE: Disabling fields in Business Process Flow

    Hi

    Please check the following to find out the JavaScript for finding the team membership of the current user:

    https://community.dynamics.com/crm/b/dynamicscrmpros/archive/2013/09/09/checking-if-a-user-is-a-member-of-a-team-using-javascript

    Once you obtain this, you can disable the fields within the BPF.

    similar to

    Xrm.Page.getControl(“header_process_parentcontactid”).setDisabled(true);

    Refer the following link:

    www.inogic.com/.../how-to-apply-script-on-header-fields-and-bpf-fields

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,989 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,588 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans