How to use it with hierarchical taxonomies

Created on 10 October 2023, 9 months ago
Updated 12 October 2023, 9 months 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 9 months 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.69.0 2024