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

Import: lookup entity reference fields using multiple columns of an import #2552

Open
3 tasks
sleidig opened this issue Aug 30, 2024 · 0 comments
Open
3 tasks
Labels
Type: Feature new user-facing feature Type: Improvement Improvement/Extension of existing feature with benefit for the user

Comments

@sleidig
Copy link
Member

sleidig commented Aug 30, 2024

When importing data that includes a link to existing records, I may need multiple columns to accurately match the right record to be linked in the import, e.g. using both firstname and lastname fields (if these are stored separately).

Objective
We currently are able to import "entity" dataType fields by looking up one column from the import and selecting an existing entity matching that value. Extend this to use a combination of multiple fields that all (?) need to match, for more accurately linking.


Implementation Steps:

  • extend the EntityDatatype.importMapFunction to support this (and write unit tests for it first)
  • define an interface what "config" data is passed into the importMapFunction as "additional" (as this now has to contain more than just the ID of one matching field)
  • extend the EntityImportConfigComponent to offer a UI for configuring multiple fields
@sleidig sleidig added Type: Feature new user-facing feature Type: Improvement Improvement/Extension of existing feature with benefit for the user labels Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature new user-facing feature Type: Improvement Improvement/Extension of existing feature with benefit for the user
Projects
Status: Triage / Analysis
Development

No branches or pull requests

1 participant