MSCRM4.0 how to make a JS event trigger in a bulk edit form

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.