Skip to main content

Summary

Get the data binding metadata (w:dataBinding) of a content control.
  • Operation ID: contentControls.getBinding
  • API member path: editor.doc.contentControls.getBinding(...)
  • Mutates document: no
  • Idempotency: idempotent
  • Supports tracked mode: no
  • Supports dry run: no
  • Deterministic target resolution: yes

Expected result

Returns the ContentControlBinding or null if no binding is set.

Input fields

Example request

Output fields

Variant 1 (required: storeItemId, xpath)

Variant 2

No fields.

Example response

Pre-apply throws

  • TARGET_NOT_FOUND
  • INVALID_INPUT
  • CAPABILITY_UNAVAILABLE

Non-applied failure codes

  • None

Raw schemas