You can think of custom settings as custom objects which are designed to hold static data or limited numbers of records. Generally, they’re used to store reference data (Custom List Settings) or custom application and code settings (Custom Hierarchy Settings).
I use these all the time — they give me a more user-friendly way to store settings for the custom components and classes I build, and they allow admins to “tweak” without having to see any code at all.
First, I’d like to make quick note. Depending on your org, “List” settings may not be enabled by default. To enable them, as you should, navigate to:
Setup > Data > Schema Settings
…and activate the “Manage List Custom Settings Type” toggle.
Okay, we should be ready to get started. Navigate to the next page where we’ll look at Hierarchy Settings.