Closed (fixed)
Project:
Migrate
Version:
7.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2011 at 23:58 UTC
Updated:
13 Oct 2011 at 02:21 UTC
I have a feeling the functionality for this already exists, but I haven't come across it yet in the documentation or in the examples.
My issue: I two migrations. Both pull from the same data source, which happens to be an xml document. The first creates entity A. The second creates entity B, but — and here's the thing — entity B references A via a node reference field.
When running the second migration, how do I discover the entity ID created during the first migration? We can assume that in both migrations, I'm using the same sourceID.
Is this really obvious?
Comments
Comment #1
mikeryanIn the entity B migration, to the node reference field mapping add
Comment #2
torrance123 commentedThanks for this. Worked like a charm!
Comment #3.0
(not verified) commentedMinor formatting