{"id":222,"date":"2009-02-24T09:21:00","date_gmt":"2009-02-24T03:51:00","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=222"},"modified":"2009-02-24T09:21:00","modified_gmt":"2009-02-24T03:51:00","slug":"bulk-edit-records-of-any-entity-in-crm","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2009\/02\/bulk-edit-records-of-any-entity-in-crm\/","title":{"rendered":"Bulk Edit records of any entity in CRM"},"content":{"rendered":"<div align=\"justify\">\nWe can easily edit a record in crm. But what if we need to edit a field of all records with same value. So here, Instead of opening records one by one and editing it, we can also use Bulk edit feature which edits that field in one go for all records.For some records like account,contact ,lead, Product etc, there is already an in-built feature for bulk editing these records.\n<\/div>\n<p align=\"justify\">Below we have explained how to bulk edit the account records :<\/p>\n<p style=\"padding-left: 30px;\" align=\"justify\">1. Select all the records for which you need to edit fields in bulk. We have selected all the account records as shown in the screen below:<\/p>\n<div style=\"padding-left: 30px;\" align=\"justify\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/2.bp.blogspot.com\/_pMlyDuF-ngc\/SaPIFj36B-I\/AAAAAAAAAB0\/bF3mz6ipA8Q\/s400\/inogicblog1.JPG\" alt=\"\" border=\"0\" \/><br \/>\n2. Now go to More actions and click on edit.<\/div>\n<div style=\"padding-left: 30px; text-align: center;\" align=\"justify\"><img decoding=\"async\" src=\"http:\/\/2.bp.blogspot.com\/_pMlyDuF-ngc\/SaO-YAyYVtI\/AAAAAAAAABc\/7-nBPFyhaDE\/s400\/inogicblog2.JPG\" alt=\"\" border=\"0\" \/><\/div>\n<p style=\"padding-left: 30px;\" align=\"justify\">3. Then you will get the window as shown in the screen below. Here, you can edit any field which will be applied to all the selected records. We have edited the account name.<\/p>\n<p style=\"padding-left: 30px; text-align: center;\" align=\"justify\"><img decoding=\"async\" src=\"http:\/\/3.bp.blogspot.com\/_pMlyDuF-ngc\/SaO-YEUlLsI\/AAAAAAAAABk\/GU6J1YLyG6M\/s400\/inogicblog3.JPG\" alt=\"\" border=\"0\" \/><\/p>\n<p style=\"padding-left: 30px;\">4. Only when you save this form, you will find that all the selected records have been edited with that value. Here we edited account name and all the account names of selected records will be test as shown in the screen below :<\/p>\n<p style=\"padding-left: 30px; text-align: center;\"><img decoding=\"async\" src=\"http:\/\/3.bp.blogspot.com\/_pMlyDuF-ngc\/SaO-YYAQRpI\/AAAAAAAAABs\/luJBzObZuxk\/s400\/inogicblog4.JPG\" alt=\"\" border=\"0\" \/><\/p>\n<p align=\"justify\">\n<p style=\"padding-left: 30px;\" align=\"justify\">This is how Bulk edit of account entity works.<\/p>\n<p><strong>Note <\/strong>:- CRM does not support bulk edit for all entities like Activities ,SalesOrder.<br \/>\nBut, if you want to Bulk edit records of Activities ,salesorder which are not supported by CRM then we can do this also.<\/p>\n<p align=\"justify\">For this, you will have to write a JavaScript on \u201cISV Button\u201d and place that button on the particular entity where bulk edit feature is desired.<\/p>\n<p align=\"justify\">In that script we have to call a function which is :<\/p>\n<p align=\"justify\">\u201cdoAction(&#8216;crmGrid&#8217;, &#8216;entitytypecode&#8217;, &#8216;bulkedit&#8217;)\u201d<\/p>\n<p>Below is a code for adding a button for bulk editing Appointment records which will be added in the isv.config :<\/p>\n<pre class=\"lang:default decode:true\">\/\/Start of Script\n\/\/You can change the entity name\n\/\/\u201d4201\u201d is the entity type code of Appointment\n\/\/End of Script<\/pre>\n<p align=\"justify\">We have to only change the entitytypecode according to the entities required for bulk edit.<\/p>\n<p align=\"justify\">For example : If we want to bulk edit \u201cSalesorder\u201d then we have to write doAction function as follows:<\/p>\n<p align=\"justify\">\u201cdoAction(&#8216;crmGrid&#8217;, &#8216;1088&#8217;, &#8216;bulkedit&#8217;)\u201d where &#8220;1088&#8221; is the entitytypecode of salesorder entity.<\/p>\n<p align=\"justify\">We can also bulk edit the records for entities like phonecall,email etc by changing their respective entitytype codes in the doAction function.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We can easily edit a record in crm. But what if we need to edit a field of all records with same value. So here, Instead of opening records one by one and editing it, we can also use Bulk edit feature which edits that field in one go for all records.For some records like\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2009\/02\/bulk-edit-records-of-any-entity-in-crm\/\">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":[19],"tags":[1555,1620],"class_list":["post-222","post","type-post","status-publish","format-standard","hentry","category-dynamics-crm","tag-scripting","tag-shortcuts"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/222","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=222"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/222\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}