Get content types field in another content type with the entity reference relationship

by karl   Last Updated August 01, 2020 06:07 AM

I have two content types. Person and Projects. I use a entity reference for the persons name on the project node so people can select the person that is involved in the project. Now using that reference I also want to get another field from the persons content type, and display this. I can't figure out how to do this. I thought I could do it with a views. I created a view with a relationship and filter with NID but it just doesn't seem to work. Whats the simplest way (view or not) to do this?

Tags : views entities


Answers 1


With Entity Reference Autofill You can achieve something like you specified.

The Entity reference autofill module gives Entity reference fields an option to populate other form fields with data from selected referenced entities.

Shabir A.
Shabir A.
January 12, 2016 15:36 PM

Related Questions