How to use it with hierarchical taxonomies

Created on 10 October 2023, about 1 year ago
Updated 12 October 2023, about 1 year ago

I want to use it with taxonomies with parent and children, and not sure what will be the correct syntax in that case, could we have an example if that is something the module can provide?

Thanks

💬 Support request
Status

Closed: works as designed

Version

1.0

Component

Documentation

Created by

🇪🇬Egypt omnia.ibrahim

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

Comments & Activities

  • Issue created by @omnia.ibrahim
  • Status changed to Closed: works as designed about 1 year ago
  • 🇧🇪Belgium dieterholvoet Brussels

    This module is not intended for taxonomies, only composite entities: entities that are only relevant in context of their parent, eg. paragraphs. For taxonomies in a hierarchy, you would have to create a migration for the taxonomies, making sure to map the weight and parent fields. You can map the weight 1 on 1 and for the parent field you would use the migration_lookup plugin, with as migration the newly created taxonomy migration.

  • 🇪🇬Egypt omnia.ibrahim

    Thanks a lot for your reply, do you have an example using migration_lookup with parent? I tried to set parent_target_id and it didn't work.

  • 🇧🇪Belgium dieterholvoet Brussels

    No sorry, I'm not sure about the exact property names to use, that depends on the context.

Production build 0.71.5 2024