createFieldSetInclusion
createFieldSetInclusion(
input,target):Promise<At4dxFieldSetInclusionWriteResult>
Defined in: packages/simply-aep-core/src/at4dxFieldSetInclusionWrite.ts:218
Creates a new SelectorConfig_FieldSetInclusion__mdt record: validates the inputs, checks the
DeveloperName doesn’t already exist in the scanned scope, runs it through validateFieldSetInclusions
alongside everything already scanned, then writes (and optionally deploys) the generated .md-meta.xml.
See docs/design/0016-at4dx-selector-config-field-set-inclusion.md for the full behavior contract.
Parameters
Section titled “Parameters”target
Section titled “target”Returns
Section titled “Returns”Promise<At4dxFieldSetInclusionWriteResult>
Throws
Section titled “Throws”See the error codes in FieldSetInclusionWriteErrorCode.