← All resources

Resource

template

A template for rendering data into text or PDF output

GraphQL reference →

Configuration

handleString!Required

Template handle (required, unique within tenant)

forces replacement

kindTemplateKind!Optional

Template kind (default STENCIL)

Allowed values

STENCIL — Stencil text template

XMLPDF — XML-to-PDF template

XML — Data-driven XML template

contentString!Required

Template source (required)

descriptionStringOptional

Template description

Read-only values

Show values
idTemplateID!Read only

Unique identifier

computed by the platform

currentVersionIdTemplateVersionIDRead only

Current published version ID

computed by the platform

currentVersionIntRead only

Current published version number

computed by the platform

createdAtISO8601!Read only

Creation timestamp (ISO8601)

computed by the platform

updatedAtISO8601!Read only

Last update timestamp (ISO8601)

computed by the platform

Lifecycle

The CLI can create this resource. The platform assigns its id.

When replacement is needed, the existing resource is removed before its replacement is created.