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

targetobjectrequired
Fields
kind"block" | "inline"required
nodeType"sdt"required
nodeIdstringrequired

Result

Output fields
storeItemId
storeItemIdstringrequired
xpathstringrequired
prefixMappingsstring
Variant 2

No fields.

Failures

Pre-apply throws

  • TARGET_NOT_FOUND
  • INVALID_INPUT
  • CAPABILITY_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