Hi,
While importing the content and taxonomy terms all getting imported
i am using json format..
C:\xampp\htdocs\drupal-8.3.2>drush mi --all
Processed 4 items (4 created, 0 updated, 0 failed, 0 ignored) - done with 'product_tags'
Processed 2 items (2 created, 0 updated, 0 failed, 0 ignored) - done with 'product_json'
No error is their
i click on edit content tags field is empty
I have tried in so many ways not able to fix it so need help to fix it...
How to map content field_tags with the taxonomy terms?
Please if any one know about this issue or mapping help me to get resolved...
product.yml file
process:
type:
plugin: default_value
default_value: products
title: name
field_upc: upc
field_description: description
field_price: price
# field_tag:
# plugin: iterator
# source: tags
# process:
# target_id:
# plugin: migration_lookup
# migration: product_tags
# source: target_id
field_tag:
plugin: iterator
source: tags
process:
target_id: tid
sticky:
plugin: default_value
default_value: 0
uid:
plugin: default_value
default_value: 0
Thanks
Comment | File | Size | Author |
---|---|---|---|
product.png | 20.23 KB | PunamShelke | |
import operation success.png | 12.34 KB | PunamShelke |
Comments
Comment #2
PunamShelkeComment #3
PunamShelkeComment #4
PunamShelkeFor migration you have to place migrate_source_json inside the config/install folder..