buildOption
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
name | string | Yes | data type=string; maxLen=255Enter a name for this build option. Build options are predefined settings that determine whether or not components within an application are enabled. |
status
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
status | enum | Yes | exclude | data type=string; lov=STATICValid values: include exclude |
defaultOnExport | enum | No | data type=string; lov=STATICValid values: exclude include | |
onUpgradeKeepStatus | boolean | Yes | false | data type=boolean |
status {
status: include
defaultOnExport: exclude
onUpgradeKeepStatus: false
}advanced
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
staticId | string | Yes | data type=string; maxLen=255 | |
featureIdentifier | string | No | data type=string; maxLen=4000 |
advanced {
staticId: value
featureIdentifier: value
}subscription
| Property | Type | Required | Default Value | Details |
|---|---|---|---|---|
master | reference | No | data type=reference; lov=COMPONENT; references=buildOption |
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
buildOption sample (
name: value
status {
status: include
defaultOnExport: exclude
onUpgradeKeepStatus: false
}
advanced {
staticId: value
featureIdentifier: value
}
subscription {
master: @component
}
comments {
comments: ```
value
```
}
)