Skip to content

createBinding

createBinding(input, target): Promise<At4dxBindingWriteResult>

Defined in: packages/simply-aep-core/src/at4dxWrite.ts:280

Creates a new Application Factory binding record: validates the inputs, checks the DeveloperName doesn’t already exist in the scanned scope (of the same bindingType), runs it through validateBindings alongside everything already scanned, then writes (and optionally deploys) the generated .md-meta.xml.

See docs/design/0015-at4dx-binding-validate-create-set.md for the full behavior contract.

CreateBindingInput

CreateBindingTarget

Promise<At4dxBindingWriteResult>

See the error codes in BindingWriteErrorCode.