Skip to main content

Function: odkMetaRow()

function odkMetaRow(metaKey): string | undefined;

Defined in: xpath.ts:1318

The ODK meta row a ${meta.*} reference exports to, or undefined when the key is Rasd-only. The exporter needs this to re-emit the meta rows the expressions depend on — an exported ${deviceid} with no deviceid row is a dangling reference (docs/20 §2.2: "All meta rows are re-emitted on export").

Parameters

ParameterType
metaKeystring

Returns

string | undefined