I have got existing Drpal 8.5 site with hundreds of nodes. With migrate, if i try to upgrade, new nodes are rather created. Node have a field which is being used as key however that seem to be not working. It seems that node are only updated if their record present in migrate_map_xyz. Any suggestions?
Updating existing content was possible by changing the default behaviour of a migration with the system of record concept in Drupal 7.
In Drupal 8 this concept has been revised & is available with the
overwrite_properties option in the destination of the migration YAML:
... destination: plugin: 'entity:node' # define the entity properties that are to be updated. overwrite_properties: - title - field_foo - field_bar ...
Answered by baikho on December 3, 2020
1 Asked on January 14, 2021 by cynthia
2 Asked on January 14, 2021 by spr
2 Asked on January 7, 2021 by selva
0 Asked on December 31, 2020 by jpsnow72
1 Asked on December 30, 2020 by dmk-i-t
1 Asked on December 30, 2020 by user1768942
2 Asked on December 28, 2020 by glenviewjeff
1 Asked on December 27, 2020 by laceysanderson
1 Asked on December 25, 2020 by richard-luckhurst
1 Asked on December 24, 2020 by hotwebmatter
1 Asked on December 23, 2020 by aryashree-pritikrishna
1 Asked on December 19, 2020 by robertsirwin
Get help from others!