Skip to main content

Summary

Add a new Custom XML Data Storage Part to the document. Generates a fresh itemID GUID and emits the Properties Part.
  • Operation ID: customXml.parts.create
  • API member path: editor.doc.customXml.parts.create(...)
  • Mutates document: yes
  • Idempotency: non-idempotent
  • Supports tracked mode: no
  • Supports dry run: yes
  • Deterministic target resolution: yes

Expected result

Returns a CustomXmlPartsCreateResult with the generated id and package part names on success.

Input fields

Example request

Output fields

Variant 1 (success=true)

Variant 2 (success=false)

Example response

Pre-apply throws

  • TARGET_NOT_FOUND
  • INVALID_TARGET
  • INVALID_INPUT
  • CAPABILITY_UNAVAILABLE

Non-applied failure codes

  • INVALID_INPUT

Raw schemas