Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Restrictions on bulk Edit while updating a specific field.

(0) ShareShare
ReportReport
Posted on by 277

Hi

I created a custom entity, which carries a lookup field for Opportunity. I have also got some background plugins to change status of the Entity depending upon few conditions. 

The real problem arrives when the users decide to change the status of these entity records using bulk edit button. I should not allow records with same opportunities to be updated with a specific status Reason. While other status reasons is fine. How can I achieve this? the Popup window when Edit ribbon button is clicked is an OOB popup. 

*This post is locked for comments

  • Patels Profile Picture
    Patels 5 on at
    RE: Restrictions on bulk Edit while updating a specific field.

    Hi Aric,

    I did try to add code on form load event but it doesn't work. If I want to achieve using the plugin then how do I do that?

  • Suggested answer
    Aric Levin Profile Picture
    Aric Levin 30,188 on at
    RE: Restrictions on bulk Edit while updating a specific field.

    A couple of options (possibly more):

    1. You can set whether or not users have access to Bulk Edit via Security Roles.

    In the Business Management Tab under the Miscellaneous Privileges section, see Bulk Edit and make sure that it is not checked.

    2. The second option if you don't want to go the Security Role route I using JavaScript.

    In your form load event, check the type of form it is. If the form type is BULK_EDIT (type 6), you can write code to disable the controls on the Bulk Edit form.

    Hope this helps.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans