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.
Parameters
Section titled “Parameters”target
Section titled “target”Returns
Section titled “Returns”Promise<At4dxBindingWriteResult>
Throws
Section titled “Throws”See the error codes in BindingWriteErrorCode.