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

Announcements

No record found.

News and Announcements icon
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

  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans