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

Bypass organization category maps #651

Open
kevinpowell1 opened this issue Jun 28, 2023 · 0 comments · May be fixed by #685
Open

Bypass organization category maps #651

kevinpowell1 opened this issue Jun 28, 2023 · 0 comments · May be fixed by #685

Comments

@kevinpowell1
Copy link
Contributor

kevinpowell1 commented Jun 28, 2023

I have multiple categories in email, phone, url etc. that are already mapped to ref data in the prepped spreadsheet. Ideally I could bypass the separate tsv maps for OrganizationTransformer and just use the values found in my prepped sheet. Something similar to useGroupMap in UserTransformer.

Org map example:

[
    {
      "folio_field": "emails[0].categories[0]",
      "legacy_field": "e-mails_Categories_0",
      "value": "",
      "description": "",
      "fallback_legacy_field": ""
    },
    {
      "folio_field": "emails[0].categories[1]",
      "legacy_field": "adressen_Categories_1",
      "value": "",
      "description": "",
      "fallback_legacy_field": ""
    },
    {
      "folio_field": "emails[0].categories[2]",
      "legacy_field": "e-mails_Categories_2",
      "value": "",
      "description": "",
      "fallback_legacy_field": ""
    }
]

Spreadsheet columns example:

e-mails_Categories_0 e-mails_Categories_1 e-mails_Categories_2 e-mails_Categories_3 e-mails_Categories_4
Books eBooks      
Journals        
Hardware        
Journals        
Journals eJournals Databases Books eBooks
Journals        
@kevinpowell1 kevinpowell1 linked a pull request Jul 21, 2023 that will close this issue
@kevinpowell1 kevinpowell1 linked a pull request Sep 20, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant