template-column
Marks a column that receives the column index of the record inside the template worksheet — the column the values were extracted from.
pebblestream:template-column
This is the counterpart of template-row for
column-oriented templates, where each record is a
column of the template rather than a row.
Syntax
pebblestream:template-column
- No arguments.
- Placed on the header cell of the column that should hold the column index.
- Requires
template-nameon the same worksheet.
Example
| column | header | comment |
|---|---|---|
| A | Source column | pebblestream:template-column |
| B | Item | pebblestream:template-name:"Partners" |
| C | Qty |
A record extracted from column D of the template worksheet gets its column index
in the Source column column.
Errors
| Error | Cause |
|---|---|
dir-too-many-args | Arguments were supplied. |
missing-the-template-name-directive | The sheet has no template-name. |
Related
- Template directives — how extraction works
- template-row — the row-index counterpart
- column-oriented-headers — orientation hint
Updated about 9 hours ago
Did this page help you?

