Skip to content

buildDomainProcessBindingXml

buildDomainProcessBindingXml(record, meta): string

Defined in: packages/simply-aep-core/src/at4dxDomainProcessBuildXml.ts:91

Builds a full .md-meta.xml document for a DomainProcessBinding__mdt record — the write-side counterpart to scanLocalDomainProcessBindings’s parsing, byte-shape-compatible with it (a re-scan of this output reproduces record). DeveloperName isn’t part of the body — like every other CustomMetadata component, it’s carried by the file name (DomainProcessBinding.<DeveloperName>.md-meta.xml), not this function’s concern. Used by createDomainProcessBinding, and by updateDomainProcessBinding when there’s no existing local file to preserve the shape of (an org-only update) — see patchDomainProcessBindingXml for the local-file case.

DomainProcessBindingXmlFields

The field values to serialize.

Presentation-only metadata not read back by any scanner.

string

string

The full XML document text, ready to write to a .md-meta.xml file.