Skip to main content

Summary

Get the list items and selected value of a comboBox or dropDownList content control.
  • Operation ID: contentControls.choiceList.getItems
  • API member path: editor.doc.contentControls.choiceList.getItems(...)
  • Mutates document: no
  • Idempotency: idempotent
  • Supports tracked mode: no
  • Supports dry run: no
  • Deterministic target resolution: yes

Expected result

Returns a ChoiceListGetItemsResult with items and selectedValue.

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