Delete multiple records from custom object in Salesforce

By | June 3, 2014

While working with Salesforce custom objects, we had inserted bunch of records in that object during testing. We wanted to bulk delete the records from the custom object using the standard Salesforce view screen that is shown below –

std sf view screenHowever we can only delete one record at a time using this screen.  It is not possible to delete multiple records at once.

To overcome this limitation in the standard salesforce view screen, we used the developer console to delete multiple records. (The developer console is available for all administrator users in salesforce)

To access the Salesforce Developer Console, navigate to your account name >> Developer Consoledeveloper consoleThe developer console will open as shown below –dev console 1Here execute a select query for the custom object in Query Editor Window. An example is shown below-
SELECT ID,First_Name__c,Last_Name__c,Address__c,Email__c FROM Test_Custom__c

Once the query is executed, the resultant data will appear in grid format – dev console 2Now the user can simply select all the required records and hit the “Delete Row” button to delete multiple records using a single click of the Delete button.

About Us
Greytrix as a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners across the globe. We offers Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that requires apex code incorporation into the Salesforce platform.

Greytrix has some unique solutions for Cloud CRM such as Salesforce integration with Sage Enterprise Management (Sage X3), Sage Intacct, Sage 100 and Sage 300 (Sage Accpac). We also offer best-in-class Cloud CRM Salesforce customization and development services along with services such as Salesforce Data Migration, Integrated App development, Custom App development and Technical Support to business partners and end users.

Greytrix GUMU™ integration for Sage ERP – Salesforce is a 5-star app listed on Salesforce AppExchange.

For more information, please contact us at salesforce@greytrix.com. We will be glad to assist you.

Related Posts