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)

Disabling fields in Business Process Flow

(0) ShareShare
ReportReport
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

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Gopalan Bhuvanesh Profile Picture
    11,401 on at

    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

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