EnrichWithWHFSVersionInfo (open)

Adds WHFS version information to the given rows based on their IDs

Syntax

LOADLIB "mod::system/lib/whfs.whlib";

RECORD ARRAY FUNCTION EnrichWithWHFSVersionInfo(RECORD ARRAY inrows, RECORD options)

Parameters

RECORD ARRAY inrows

The rows to enrich with WHFS version information

RECORD options

Options for enrichment, including:

cellname:

The name of the cell containing the ID (default "id")

fields:

The fields to include (default [ "publish", "current_final", "current_draft" ])

Return value

RECORD ARRAY

The enriched rows