Taxonomy By Name Importer

Created on 19 September 2022, over 2 years ago
Updated 12 March 2023, almost 2 years ago

Problem/Motivation

As a Drupal site builder,
I want to import/update taxonomy terms by name instead of using ID,
So I can import/update terms and don't have to find ID(s) etc.

Using TaxonmyTerm importer plugin.

Before:

name,parent
"Parent Term 1", // ID 1
"Parent Term 2", // ID 2
"Child Term 1",1
"Child Term 2",2
"Child Term 3",1
"Child Term 4"

Using the TaxonmyTermByName importer plugin.

After:

name,parent
"Parent Term 1",
"Parent Term 2",
"Child Term 1","Parent Term 1"
"Child Term 2","Parent Term 2"
"Child Term 3","Parent Term 1"
"Child Term 4"

Steps to reproduce

Please see above example.

Proposed resolution

- Add a new importer plugin
- Update the incoming data with a function which finds taxonomy terms by ID.
- Add tests.

Remaining tasks

- Review

User interface changes

None

API changes

None

Data model changes

None

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇦🇺Australia amjad1233 Brisbane

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇱Netherlands Summit

    Hi,
    I installed the .dev. How to proceed to get Term Lineage imported?
    What should my .csv look like?
    Thanks for building this live saving module:)
    greetings,

Production build 0.71.5 2024