Closed (cannot reproduce)
Project:
Migrate
Version:
7.x-2.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 May 2012 at 19:24 UTC
Updated:
14 Jun 2012 at 14:44 UTC
Hi,
I have data coming from two different sources. I need to run one source at node create and other to be import at node update. migrate provide to map nids with some sources. but i have same Id in both sources. I dont want to map nids with source id but I have mapped source id in node create import in title. now I want to map title(instead of nids) with source id on node update import.
Does some one have ideas?
Thanks
Comments
Comment #1
mikeryanI'm having trouble understanding the scenario... Are you saying that in your second (update) migration, you want to be able to identify the target node by title rather than by nid? If so, you can map the title to the nid in a field mapping, and in prepareRow() look up the title to get the nid. E.g.
Comment #2
mikeryanNo further information provided.