appSetting
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | data type=string; maxLen=255Enter a unique Static ID for this application setting. Application settings enable developers to define application-level configuration options. The Static ID is used to identify this component in API calls or to refer to it in application export files. If you change the Static ID, dependent components will retain their references, but any existing API calls using the old ID must be updated manually. |
value
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticValue | multiline string | No | data type=multiline string; maxLen=4000Enter the default value for this application setting. | |
onUpgradeKeepValue | boolean | Yes | false | data type=boolean |
value {
staticValue: ```
value
```
onUpgradeKeepValue: false
}validation
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
required | boolean | Yes | false | data type=booleanSpecify whether this application setting is required and must always be set. |
validValues | string | No | data type=string; maxLen=4000 |
validation {
required: false
validValues: value
}config
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
buildOption | reference | No | data type=reference; lov=COMPONENT; references=buildOption |
config {
buildOption: @component
}subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | reference | No | data type=reference; lov=COMPONENT; references=appSetting |
subscription {
master: @component
}comments
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
comments | multiline string | No | data type=multiline string; maxLen=4000 |
comments {
comments: ```
value
```
}APEXlang Example
appSetting sample (
staticId: value
value {
staticValue: ```
value
```
onUpgradeKeepValue: false
}
validation {
required: false
validValues: value
}
config {
buildOption: @component
}
subscription {
master: @component
}
comments {
comments: ```
value
```
}
)