Class: submitXls

Adaptor~submitXls(formData, params) → {Operation}

new submitXls(formData, params) → {Operation}

Convert form data to xls then submit.
Parameters:
Name Type Description
formData Object Object including form data.
params Object Request params including case type and external id.
Source:
Returns:
Type
Operation
Example
submitXls(
   [
     {name: 'Mamadou', phone: '000000'},
   ],
   {
     case_type: 'student',
     search_field: 'external_id',
     create_new_cases: 'on',
   }
)