teableio / teable

✨ The Next Gen Airtable Alternative: No-Code Postgres

Home Page:https://teable.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

During excel import columns are matched in sequence instead of matching based on column names

solankimihir opened this issue · comments

Describe the bug
When importing excel file, the columns from excel file are mapped to columns in database , in sequence.
[Example:

  1. If excel file has following columns: Task Name | Client Name | Task Due Date
  2. If teable db has following columns: Preparer Name | Task Name| Client Name | Task Due Date

During Import,
The Task Name (Excel) will be mapped to "Preparer Name"
The Client Name (Excel) will be mapped to "Task Name"
The Task Due Date (Excel) will be mapped to "Client Name"
The Task Due Date (in teable) will appear as "Do Not Import"

To Reproduce
Create a Task Table:
image

Export the CSV and remove existing records.(keep headers intact)
Remove irrelevant columns.
Enter new data to be imported and save as Excel. [Refer screenshot below]
image

Import the excel
image

We can see that Count column is mapped to Status column (As Count is the 2nd Column in Teable and Status is the 2nd Column in Excel).

Expected behavior
The mapping should be done based on the Field Names [As they match with the Field Names appearing in teable]
image

Screenshots
Screenshots in line with description above.

** Client (please complete the following information):**

  • OS: Windows
  • Browser Firefox
  • Version 126.0b8 (64-bit)

Platform (Please tell us which deployment version you are using)
Teable.io and Docker-Standalone, both.

Additional context
N/A

commented

Well, it's a good idea for improving in-place import experience. We'll support it soon. Appreciate for feed back~