block-row-count

Marks a column that receives a constant: the number of data rows in the record's block inside the template worksheet.

pebblestream:block-row-count

Useful when the pebble needs to reason about the size of the table each record
came from — for example, to divide a block total across its rows, or to know how
many rows to write back when filling the template.

Syntax

pebblestream:block-row-count
  • No arguments.
  • Placed on the header cell of the column that should hold the constant.
  • Requires template-name on the same worksheet.

Example

columnheadercomment
ARows in blockpebblestream:block-row-count
BItempebbblestream:template-name:"Partners"
CQty

Every record extracted from a block with 12 data rows gets 12 in the
Rows in block column.

Errors

ErrorCause
dir-too-many-argsArguments were supplied.
missing-the-template-name-directiveThe sheet has no template-name.

Related


Did this page help you?