contentControls.choiceList.getItems

Get the list items and selected value of a comboBox or dropDownList content control.

read-onlyidempotent
doc.contentControls.choiceList.getItems(…)

Expected result

Returns a ChoiceListGetItemsResult with items and selectedValue.

Inputs

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

Result

Output fields
itemsobject[]required
selectedValuestring

Failures

Pre-apply throws

  • TARGET_NOT_FOUND
  • INVALID_INPUT
  • CAPABILITY_UNAVAILABLE
1 more codes
  • TYPE_MISMATCH

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