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

CommentFileSizeAuthor
product.png20.23 KBPunamShelke
import operation success.png12.34 KBPunamShelke
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

punam_unimity created an issue. See original summary.

PunamShelke’s picture

Title: While creating node tags entity reference relation not working it showing empty » While creating content node the field tags not getting value
PunamShelke’s picture

PunamShelke’s picture

Status: Active » Fixed

For migration you have to place migrate_source_json inside the config/install folder..

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.