Documentation / @zerotal/admin / index / importAction
Function: importAction()
importAction(
options?):Action
Defined in: admin/src/actions/transfer.ts:217
Header action → upload a CSV and create a record per row.
The modal has two steps in one screen: pick a file, and then — once its header row is readable — one select per column saying which field it feeds. The selects start on whatever the header names match, so a file the panel exported needs no adjustment, and a file from somewhere else needs only the columns that didn't line up.
Parameters
options?
queue?
boolean