1

I have two content types: speaker and session. Session has an entity reference field to speaker - when you create a session, you add references to one or more speakers.

I need to create a view of speakers and details from the speaker nodes, but also include the titles of the sessions that they're referenced on. I've added a relationship using the type Entity Reference: Referencing entity - A bridge to the Content entity that is referencing Content via field_speaker, and when I go to add new fields, I can see all of the fields from the session content type EXCEPT Title. The only Content: Title that's available is the one from the speaker nodes.

enter image description here

What do I need to do to get the Content: Title that's on the session node?

4

You should choose the one that says "Content: Title". In the next page you can choose the relationship you want this field's value to come from, i.e. your entity reference field.

e.g.

screenshot

  • Thank you! So any fields that the two content types might have in common (as far as field names go) need to be selected that way, rather than displaying directly in the list. That makes sense. – EmmyS May 31 '12 at 17:10
  • 1
    Yeah I think Views is clever enough to group duplicate entries together. I remember it taking a while to figure this out too – Clive May 31 '12 at 17:16

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.