Document apiReferenceContent controls
contentControls.getContent
Get the text content of a content control.
read-onlyidempotent
doc.contentControls.getContent(…)Expected result
Returns a ContentControlsGetContentResult with the content string and format.
Inputs
targetobjectrequiredFields
kind"block" | "inline"requirednodeType"sdt"requirednodeIdstringrequiredResult
Output fields
contentstringrequiredformat"text" | "html"requiredFailures
Pre-apply throws
TARGET_NOT_FOUNDINVALID_INPUTCAPABILITY_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