After you define custom settings, add fields to them. The custom fields contain the data used by the custom setting.
Required Editions
| Available in: Salesforce Classic and Lightning Experience. |
|
Available in: Group, Professional, Developer, Enterprise, Performance, Unlimited, and Database.com Editions. Packages aren’t available in Database.com. |
| User Permissions Needed | |
|---|---|
| To manage, create, edit, and delete custom settings: | Customize Application |
- From Setup, enter Custom Settings in the Quick Find box, then select Custom Settings.
- Click the custom setting that you want to add fields to. (If you just created the custom setting, the Custom Setting Detail page appears.)
- Click New.
-
Select a field type and click Next.
Note Record size is based on the maximum field size of each field type, not the actual storage that’s used in each field. When adding fields to a custom setting definition, use the appropriate type and specify a length that doesn’t exceed what’s needed for your data. This action helps you avoid reaching the cached data limit. For example, if you create a US social security number (SSN) field, select the Text data type and specify a length of 9. If you select a Text Area data type, the field would add 255 characters to the usage count for each record, regardless of the number of characters entered. - Enter the details for the field.
- Confirm the information, and then click Save or Save & New.
After you add fields, add data, and for hierarchy custom settings, specify the access level.