Skip to main content

Function: importXlsform()

function importXlsform(input, opts?): Promise<ImportXlsformResult>;

Defined in: import.ts:1942

Imports an XLSForm workbook into an RFD document.

Parameters

ParameterType
input| ArrayBuffer | Uint8Array | Blob | XlsformWorkbook
optsImportXlsformOptions

Returns

Promise<ImportXlsformResult>

Throws

RasdError RASD_XLSFORM_IMPORT when the workbook has no survey sheet, its survey sheet has no type column, or the bytes are unreadable (docs/20 §12). Everything else — unknown types, unmappable XPath, unbalanced groups, missing lists — comes back in report.issues.