Activity Forums Salesforce® Discussions When to Create Custom Object and LIST Type Custom Setting ?

  • Somendra

    Member
    August 8, 2019 at 10:37 am

    In some ways, List-type Custom Settings are very similar to Custom Objects. In fact, if you use a tool like the Data Loader to view a list of objects in your org, you’ll see that Custom Settings are listed together with Custom Objects, without any visible distinction between the two.

    In Custom objects you can create validation rules , triggers , workflows , page-layout and record type whereas not in custom setting.

    Custom Settings are used to Avoiding Governor Limits

    Depending on how your Apex code interacts with Custom Settings, they can have zero impact on certain governor limits. That’s right – you can retrieve all of the values in a Custom Setting with absolutely no impact on the governor’s count of the number of queries you’ve performed or the number of rows you’ve retrieved.  This makes Custom Settings particularly useful for reference data, like lists of Postal Code / State mappings.

  • Isabel Jason

    Member
    August 8, 2019 at 1:00 pm

    As mentioned by @somendra Depending on the type of client requirement we will be using the customised object & List values. For your reference, you can go through the below-mentioned blogs for detail explanation about both...

    Creating a Custom Object.

    Creating a List Methods in Salesforce.

    Happy Learning...

     

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos