I have three content types, A, B and C.
There's an unique field in each content type used for identification, A-ID, B-ID, and C-ID.
There's also an entity reference field for content type A and B, which would be A-Ref, B-Ref.
A-Ref can only reference nodes of content type B, while B-Ref can only reference nodes of content type C.
I created a view (path: list/%/%), and I would like to find the very only node of content type A with A-ID field set to the first parameter (let's call it node ABC), then looks through all nodes referenced through A-Ref in node ABC, and pick the one whose B-ID is set to the second parameter (let's call it node DEF).
Last, show a list of nodes of content type C referenced through B-ID in node DEF.
Spent hours trying to get the view to work but it doesn't. Any idea?
Comments
Comment #1
tjferre commentedDid you find a solution?
Comment #2
Hars Saraf commentedI had a similar problem. You can find my solution here :https://www.drupal.org/node/2657524#comment-10906366
Comment #3
renatog commentedHi guys.
I check the solution in #4 of #2657524: Using a chain of entity reference fields to populate a list
Solution cited:
Really makes sense.
Comment #4
renatog commentedThanks Hars Saraf