teable icon indicating copy to clipboard operation
teable copied to clipboard

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

Open solankimihir opened this issue 1 year ago • 1 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

solankimihir avatar May 04 '24 09:05 solankimihir

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

caoxing9 avatar May 11 '24 09:05 caoxing9