{"id":88,"date":"2011-10-18T11:28:00","date_gmt":"2011-10-18T05:58:00","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=88"},"modified":"2011-10-18T11:28:00","modified_gmt":"2011-10-18T05:58:00","slug":"enable-scripts-on-bulk-edit-form-in-crm-2011","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2011\/10\/enable-scripts-on-bulk-edit-form-in-crm-2011\/","title":{"rendered":"Enable Scripts on Bulk Edit form in CRM 2011"},"content":{"rendered":"<p>CRM 2011 includes the feature to enable script on the bulk edit form. By default the scripts are disabled for bulk edit forms.<\/p>\n<p>To enable the script for Bulk edit forms check the below syntax<\/p>\n<p><event<br \/>active=[&#8220;0&#8221; &#8220;1&#8221; &#8220;true&#8221; &#8220;false&#8221;]application=[&#8220;0&#8221; &#8220;1&#8221; &#8220;true&#8221; &#8220;false&#8221;]attribute=&#8221;String&#8221;<br \/>BehaviorInBulkEditForm=&#8221;String&#8221;<br \/>eventType=[&#8220;DataEvent&#8221; &#8220;ControlEvent&#8221;]name=&#8221;String&#8221;><br \/><dependencies \/><br \/><Handlers \/><br \/><InternalHandlers \/><br \/><\/event><\/p>\n<p>See below detailed descriptions for the attributes.<\/p>\n<p><a href=\"http:\/\/1.bp.blogspot.com\/-EkNCo0VheMQ\/Tp1_oA9hhJI\/AAAAAAAAA3c\/A5nmBa-EH5c\/s1600\/blog%2B232.jpg\"><img decoding=\"async\" src=\"http:\/\/1.bp.blogspot.com\/-EkNCo0VheMQ\/Tp1_oA9hhJI\/AAAAAAAAA3c\/A5nmBa-EH5c\/s400\/blog%2B232.jpg\" border=\"0\" alt=\"\"><\/a><\/p>\n<p>Steps to enable the script on bulk edit form:<br \/>&#8211; Include the entity for which you would like to enable the bulk edit script and export the solution.<br \/>&#8211; Open the customization.xml<br \/>&#8211; Add BehaviorInBulkEditForm=&#8221;Enabled&#8221; to the event handlers as shown below<\/p>\n<p><a href=\"http:\/\/2.bp.blogspot.com\/-kR407W56cwE\/Tp1u15BLgcI\/AAAAAAAAA3Q\/x2smXeY4-DY\/s1600\/blog%2B1.png\"><img decoding=\"async\" src=\"http:\/\/2.bp.blogspot.com\/-kR407W56cwE\/Tp1u15BLgcI\/AAAAAAAAA3Q\/x2smXeY4-DY\/s400\/blog%2B1.png\" alt=\"\" border=\"0\"><\/a><br \/><event name=\"onload\" application=\"false\" active=\"false\"  BehaviorInBulkEditForm=\"Enabled\" > <br \/><event name=\"onsave\" application=\"false\" active=\"false\" BehaviorInBulkEditForm=\"Enabled\" ><\/p>\n<p>&#8211; Save and Import the solution, publish it.<br \/>&#8211; Now your script will work on bulk edit form.<\/p>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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:&#8211; Include the entity for\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2011\/10\/enable-scripts-on-bulk-edit-form-in-crm-2011\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[20,21,22,24,33],"tags":[221],"class_list":["post-88","post","type-post","status-publish","format-standard","hentry","category-dynamics-crm-2011","category-dynamics-crm-2013","category-dynamics-crm-2015","category-dynamics-crm-2016","category-javascript","tag-bulk-edit"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/88","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=88"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/88\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}