Skip to main content

Summary

Get the checked state of a checkbox content control.
  • Operation ID: contentControls.checkbox.getState
  • API member path: editor.doc.contentControls.checkbox.getState(...)
  • Mutates document: no
  • Idempotency: idempotent
  • Supports tracked mode: no
  • Supports dry run: no
  • Deterministic target resolution: yes

Expected result

Returns a CheckboxGetStateResult with the checked boolean.

Input fields

Example request

Output fields

Example response

Pre-apply throws

  • TARGET_NOT_FOUND
  • INVALID_INPUT
  • CAPABILITY_UNAVAILABLE
  • TYPE_MISMATCH

Non-applied failure codes

  • None

Raw schemas