CRM 2011 includes the feature to enable script on the bulk edit form. By default the scripts are disabled for bulk edit forms.
To enable the script for Bulk edit forms check the below syntax
See below detailed descriptions for the attributes.
Steps to enable the script on bulk edit form:
- Include the entity for which you would like to enable the bulk edit script and export the solution.
- Open the customization.xml
- Add BehaviorInBulkEditForm=”Enabled” to the event handlers as shown below
- Save and Import the solution, publish it.
- Now your script will work on bulk edit form.
This way you can let your users use bulk edit freely with your custom script also executing just fine. Earlier, usually if there was custom business logic to be performed plugins were advised as it would allow the custom business logic to be executed for all records that were edited through Bulk Edit.