2

I'm using the Feeds module and entity references heavily on my site to add, update, and link content. Unfortunately, the data I'm using has a number of records that are named the same, which causes issues when matching Entity References through GUID.

Is there a way to import entity reference fields through Feeds but using title and content-type instead?

1

I believe I've found an answer to this problem.

Using the Feeds Tamper module, I can add use the Entity Fields Query Finder plugin to lookup against any other field belonging to a particular content type.

In my case I'm saving the lookup key I need in a field, and then matching against that field & content type.

  • nice, glad to hear. – No Sssweat Aug 10 '17 at 1:29
0

Title and content-type

By default, there is no way to do that.

So you have 2 choices:

A) Go by the referenced nid instead.

B) Create a custom parser, see the The developer's guide to Feeds.

  • Thanks! Going by nid isn't going to be possible as I'm not storing that anywhere within my import data to be able to reference it, so it looks like I'll have to explore option B. – Jacques Aug 7 '17 at 7:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.