buildBindingXml
buildBindingXml(
record,meta):string
Defined in: packages/simply-aep-core/src/at4dxBuildXml.ts:89
Builds a full .md-meta.xml document for an Application Factory binding record — the write-side
counterpart to scanLocalBindings’s parsing, byte-shape-compatible with it (a re-scan of this
output reproduces record). DeveloperName isn’t part of the body — it’s carried by the file name
(<LocalObjectName>.<DeveloperName>.md-meta.xml), not this function’s concern. Used by
createBinding, and by updateBinding when there’s no existing local file to preserve the shape
of (an org-only update) — see patchBindingXml for the local-file case.
Parameters
Section titled “Parameters”record
Section titled “record”The field values to serialize.
Presentation-only metadata not read back by any scanner.
string
Returns
Section titled “Returns”string
The full XML document text, ready to write to a .md-meta.xml file.