Document apiReferenceContent controls
contentControls.getBinding
Get the data binding metadata (w:dataBinding) of a content control.
read-onlyidempotent
doc.contentControls.getBinding(…)Expected result
Returns the ContentControlBinding or null if no binding is set.
Inputs
targetobjectrequiredFields
kind"block" | "inline"requirednodeType"sdt"requirednodeIdstringrequiredResult
Output fields
storeItemId
storeItemIdstringrequiredxpathstringrequiredprefixMappingsstringVariant 2
No fields.
Failures
Pre-apply throws
TARGET_NOT_FOUNDINVALID_INPUTCAPABILITY_UNAVAILABLE
Raw schemas
Open the generated JSON artifact for the exact input, output, success, and failure schemas represented by this contract version.
View raw JSON schemas