多维表格
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

2.2 KiB

title
Create table via import

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';

Import table from CSV / Excel / JSON

Accessing import modal

There are two ways to access import modal:

1. From the project dashboard

image image

2. From the table context menu

image

Importing file

There are two ways to upload source file:

1. Upload from local directory

  1. Select Upload tab from the Quick import modal.
  2. Click on file upload button or drag and drop file to the modal.
  3. Advance Settings (optional)
  4. Click on Import button. image

2. Upload from URL

  1. Select URL tab from the Quick import modal.
  2. Paste the URL of the file.
  3. Advance Settings (optional)
  4. Click on Import button. image

:::info

  • Multiple files can be imported at once.
  • Supported file formats: CSV, Excel, JSON
  • Maximum file size: 5 MB :::

Import configurations

  1. Table name - defaults to the name of the file; double click to edit.
  2. Field configurations - Optional
    • Field name - name of the column as identified from import file header; click to edit.
    • Field type - inferred from the data in the column; click to edit.
    • Options - For Single select and Multi select field types, options identified are listed here; click to edit.
  3. Click on Import button to start importing the file.
  4. Remove field - Click on delete icon to exclude a field in source file from being imported.

image

Advance settings

  • # of rows to parse to infer datatype - defaults to 500 rows.
  • Auto select field types - enabled by default. If checked, field types will be detected. Otherwise, all fields will default to SingleLineText.
  • Use first row as headers - enabled by default. If checked, the first row will be treated as header row & will be used as field names.
  • Import data - enabled by default. If checked, all data will be imported; otherwise, only table will be created.

:::info By default, the first column will be chosen as Display Value and cannot be deleted. :::