MSCRM4.0 How to Make JS Event Trigger in bulk edit form MSCRM4.0 How to Make JS Event Trigger in bulk edit form
MSCRM3.0 we can control a property as read-only by adding the following code to the OnLoad event.
CrmForm.all.filed.Disabled = true;
After update to 4.0, we will find that the corresponding properties of the bulk edit form are not disabled, check out the 4.0 SDK, which says that because of security reasons Ms Canceled bulk edit form event function.
The default Bulk Edit form event feature is not turned on, but we can open it by modifying the entity XML.
Step one exports the customized XML file for the corresponding entity.
Step two open the XML file with Notepad.
Put <event application= "false" active= "true" >
Switch
<event application= "false" active= "true" behaviorinbulkeditform= "Enabled" >
Step three import the XML file and publish the corresponding entity
onchange events and OnSave events can also be opened with the above method.
MSCRM4.0 how to make a JS event trigger in a bulk edit form