Skip to content

Parameters and data

A template declares what it needs; your application supplies the values and the rows when it renders it.

parameters:
From: { type: date, default: "=AddMonths(Today(), -1)" }
data:
invoices: { fields: { Number: string, Issued: date, Total: decimal } }

Each entry of parameters, by name. Expressions read a parameter by its name.

Type: text

A human-readable name, for hosts that ask for the value.

Type: expression

Default value; may be an expression (=Today()). A parameter without one is required.

Each entry of data, by name.

Type: text

What the dataset holds, for people and tools.

Type: names to keyword · Required

Field name → type, in column order.