Here's the scenario:
I have two feeds importers: Members Importer, which does the mapping
SOURCE TARGET TARGET CONFIGURATION id GUID (guid) Used as unique id member_id (field_member_id) Used as unique first_name First Name (field_first_name) last_name Last Name (field_last_name)
and Bigs Importer, which does the mapping
SOURCE TARGET TARGET CONFIGURATION from_member_id member_id (field_member_id) Used as unique to_member_id Big Brother(s) (Entity reference by Feeds GUID) (field_big_brother_s_)
Both have Bundle set to the custom content type
Member; note that
field_big_brother_s_ is an entity reference to a node which is also of content type Member, which is why I need two separate importers.
(For ease of discussions, I've appended a couple example sources to the end of this post.)
Can I guarantee that running Bigs Import on the source below (after running Members Importer on the other source) will add
Big Brother(s)field? I've read that GUID is only guaranteed to be unique for a single import, or something like that.
If the answer to 1. is no, is it possible to do the entity reference lookup by the
member_idfield and eliminate GUID stuff entirely?
Source for Members Importer:
id,first_name,last_name 1 ,Bob ,Dylan 2 ,Mister ,Rogers 3 ,The ,Doctor
Source for Bigs Importer:
id,from_member_id,to_member_id 1 ,2 ,3 2 ,1 ,3 2 ,1 ,2