Skip to main content

calculateFingerprintAndStencil

Calculates the form fingerprint and data stencil for the form definition.

Signature

calculateFingerprintAndStencil(definition: IDefinition): {
fingerprint: string;
stencil: (type: "exportables" | "actionables") => string;
}

Parameters

NameTypeOptionalDescription
definitionIDefinitionNoSpecifies the form definition.

Return value

Returns an object that contains the fingerprint and a stencil function that can be used to retrieve the data stencil for the exportable or actionable data.

tip

More information about exportable and actionable data can be found in the Form data stencil guide.