Create Custom Setting
sf_create_custom_settingCreate Custom Setting objects (API name ending in __c) with Hierarchy or List type to store Apex-accessible data without SOQL queries. Use for feature flags, thresholds, or configurable constants.
Instructions
Creates a Custom Setting object (ending in __c) with Hierarchy or List type. Custom Settings store data accessible via Apex without SOQL queries. Hierarchy type supports org/profile/user level overrides. Use for feature flags, thresholds, or configurable constants.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Label for the custom setting object | |
| fields | No | Custom fields to add to this setting | |
| fullName | Yes | API name of the custom setting, e.g. 'OrgPreferences__c' | |
| visibility | No | Public: accessible to all Apex/VF. Protected: only accessible within the namespace. | Public |
| description | No | Description of this custom setting | |
| settingType | No | Hierarchy: overridable at org/profile/user level. List: simple key-value list. | Hierarchy |