Timeline for How to access existing data in the row during Migrate?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 2, 2014 at 9:03 | vote | accept | Oddible | ||
May 2, 2014 at 6:40 | comment | added | Anil Sagar | Awesome.. If one of the answers above fixes your issue, you should accept it (click the check mark next to the appropriate answer). That does two things. It lets everyone know your issue has been resolved, and it gives the person that helps you credit for the assist. See here for a full explanation | |
May 2, 2014 at 6:34 | comment | added | Oddible |
Thanks, I dug around in the $row object that is passed to PrepareRow() and if it is an update (and not an add new), the destination row id shows up at $row->migrate_map_destid1 , will use it to node_load .
|
|
May 2, 2014 at 3:08 | history | answered | Anil Sagar | CC BY-SA 3.0 |