Import

Data import for importing Excel, CSV files.

Example

Note: Import is only valid when defined in the JSON of the table page, and data cleaning is supported during data import.
{
"header": {
"preset": {
"import": {}
}
}
}

Props

interface Header {
preset: {
import?: {
api: {
setting: string
mapping: string
preview: string
import: string
mapping_setting_model: string
preview_setting_model: string
}
actions: Actions
}
}
}
Note: Imported Actions can only use `Common.historyPush`.

API

PropertiesDescriptionTypeDefaultRequiredVersion
apiinterfaceapi-yes

api

PropertiesDescriptionTypeRequired
settingsetting interfacestringyes
mappingfield mapping to get data interfacestringyes
mapping_settingfield mapping setting interfacestringyes
previewdata preview data interfacestringyes
preview_settingData preview setting interfacestringyes
importimport interfacestringyes

Import

Data import for importing Excel, CSV files.

Example

Note: Import is only valid when defined in the JSON of the table page, and data cleaning is supported during data import.
{
"header": {
"preset": {
"import": {}
}
}
}

Props

interface Header {
preset: {
import?: {
api: {
setting: string
mapping: string
preview: string
import: string
mapping_setting_model: string
preview_setting_model: string
}
actions: Actions
}
}
}
Note: Imported Actions can only use `Common.historyPush`.

API

PropertiesDescriptionTypeDefaultRequiredVersion
apiinterfaceapi-yes

api

PropertiesDescriptionTypeRequired
settingsetting interfacestringyes
mappingfield mapping to get data interfacestringyes
mapping_settingfield mapping setting interfacestringyes
previewdata preview data interfacestringyes
preview_settingData preview setting interfacestringyes
importimport interfacestringyes