Browse Source

docs: import csv (#8952)

* docs: import csv

* docs: fix link
pull/8954/head
Raju Udava 5 months ago committed by GitHub
parent
commit
6ac1425b3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 20
      packages/noco-docs/docs/050.tables/030.create-table-via-import.md
  2. BIN
      packages/noco-docs/static/img/v2/table/import-csv-url.png
  3. BIN
      packages/noco-docs/static/img/v2/table/import-csv.png
  4. BIN
      packages/noco-docs/static/img/v2/table/import-stage-2.png

20
packages/noco-docs/docs/050.tables/030.create-table-via-import.md

@ -25,18 +25,22 @@ There are two ways to access import modal:
There are two ways to upload source file: There are two ways to upload source file:
#### 1. Upload from local directory #### 1. Upload from local directory
1. Select `Upload` tab from the Quick import modal. 1. Select `Upload` tab from the Quick import modal.
2. Click on `file upload` button or drag and drop file to the modal. 2. Click on `file upload` button or drag and drop file to the modal.
3. [Advance Settings](#advance-settings) (optional) 3. [Advance Settings](#advanced-settings) (optional)
4. Click on `Import` button. 4. Click on `Import` button.
![image](/img/v2/table/import-csv.png)
![image](/img/v2/table/import-csv.png)
#### 2. Upload from URL #### 2. Upload from URL
1. Select `URL` tab from the Quick import modal. 1. Select `URL` tab from the Quick import modal.
2. Paste the URL of the file. 2. Paste the URL of the file.
3. [Advance Settings](#advance-settings) (optional) 3. [Advance Settings](#advanced-settings) (optional)
4. Click on `Import` button. 4. Click on `Import` button.
![image](/img/v2/table/import-csv-url.png)
![image](/img/v2/table/import-csv-url.png)
:::info :::info
- Multiple files can be imported at once. - Multiple files can be imported at once.
@ -46,11 +50,11 @@ There are two ways to upload source file:
### Import configurations ### Import configurations
1. `Table name` - defaults to the name of the file; double click to edit (Optional). 1. `Table name` - defaults to the name of the file; double click to edit (Optional).
2. `Field configurations` (Optional) 2. `Field configurations` (Optional)
- `Field name` - name of the field as identified from import file header; click to edit. - `Field name` - name of the field as identified from import file header; click to edit.
- `Field type` - inferred from the data in the field; click to edit. - `Field type` - all fields are mapped by default to `Single line text`. Field type as required can be changed after file is imported.
- `Options` - For `Single select` and `Multi select` field types, options identified are listed here; click to edit.
3. `Remove field` - Click on delete icon to exclude a field in source file from being imported (Optional) 3. `Remove field` - Click on delete icon to exclude a field in source file from being imported (Optional)
4. Click on `Import` button to start importing the file. 4. Click on `Import` button to start importing the file.
@ -58,13 +62,11 @@ There are two ways to upload source file:
### Advanced Settings ### Advanced Settings
- **Number of Records for Datatype Inference**: Default value is set to 500 records.
- **Automatic Field Type Detection**: Enabled by default. If selected, the system will automatically detect field types. Otherwise, all fields will default to "SingleLineText."
- **Utilize First Records as Headers**: Enabled by default. If selected, the first record in the spreadsheet will be treated as the header record and its contents will be used as field names. - **Utilize First Records as Headers**: Enabled by default. If selected, the first record in the spreadsheet will be treated as the header record and its contents will be used as field names.
- **Import Data**: Enabled by default. If selected, all data will be imported; otherwise, only the table will be created. - **Import Data**: Enabled by default. If selected, all data will be imported; otherwise, only the table will be created.
:::info :::info
By default, the first field will be chosen as Display Value and cannot be deleted. By default, the first field will be chosen as Display Value.
::: :::
## Related articles ## Related articles

BIN
packages/noco-docs/static/img/v2/table/import-csv-url.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 313 KiB

After

Width:  |  Height:  |  Size: 192 KiB

BIN
packages/noco-docs/static/img/v2/table/import-csv.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 306 KiB

After

Width:  |  Height:  |  Size: 201 KiB

BIN
packages/noco-docs/static/img/v2/table/import-stage-2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 KiB

After

Width:  |  Height:  |  Size: 206 KiB

Loading…
Cancel
Save