Delete all records from a Custom Object

By | December 31, 2014

There are times when we would like to clear all the data from a particular custom object in Salesforce. For those who do not want to write code in Apex there is a way in which one can delete all the data of a custom object using the Salesforce.com User Interface.  In order to do this, we need to first make sure the custom object truncate is enabled in the User Interface settings.

To do this, navigate to Setup >> Customize >> User Interface. Select the “Enable Custom Object Truncate” setting in the Setup section as shown below and save the changes.User Interface

Now open the custom object definition page for the custom object. To do this, Navigate to Setup >> App Setup >> Create >> Objects. Click on the required object to open the custom object definition page. Click on Truncate button. Custom Object Definition

This will open a confirmation popup. Enter the name of the object in the field and click Truncate.  All records in that custom object will now be deleted.

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