Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
solankimihir opened this issue May 4, 2024 · 1 comment · Fixed by #602
Assignees
Labels
roadmap This looks great. We want to make it happen.

Comments

@solankimihir
Copy link

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

@tea-artist tea-artist added the roadmap This looks great. We want to make it happen. label May 5, 2024
@caoxing9 caoxing9 self-assigned this May 11, 2024
@caoxing9
Copy link
Contributor

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

@caoxing9 caoxing9 linked a pull request May 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
roadmap This looks great. We want to make it happen.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants