buildFieldSetInclusionXml
buildFieldSetInclusionXml(
record,meta):string
Defined in: packages/simply-aep-core/src/at4dxFieldSetInclusionBuildXml.ts:70
Builds a full .md-meta.xml document for a SelectorConfig_FieldSetInclusion__mdt record — the
write-side counterpart to scanLocalFieldSetInclusions’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
(SelectorConfig_FieldSetInclusion.<DeveloperName>.md-meta.xml), not this function’s concern. Used
by createFieldSetInclusion, and by updateFieldSetInclusion when there’s no existing local file
to preserve the shape of (an org-only update) — see patchFieldSetInclusionXml 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.