Troubles with displaying content in a sidebar block with a View. Actually, the website is in Dutch, so I'll replace the names of Content Types with something easier, like A, B, C, D.
I have 4 entity types: A, B, C, and D. These are articles referencing each other. So, a node for entity type A on the screen, has additional relevant information in B, C, and D.
While the node from entity type A is on the screen, I want to display the links to the different nodes in B, C and D in a sidebar block.
So in each entity type, I have Entity Reference fields, for example a node from type A has fields refB and refC and refD.
All working fine, with the links being correctly displayed within the node display, and I can jump between content from each entity type using the Entity Reference fields.
So, for the sidebar block, I created a View that contains the refB and refC and refD fields, and added a relationship (just for refB initially, to reference the content in entity type B), and a contextual filter on the Nid, getting the value from "Entity from URL".
Nothing gets displayed in the block however.
When I remove the contextual filter, all possible values for the entity reference fields are displayed. So either I'm getting everything or nothing, but not the relevant entity reference fields from the node in entity type A only.
Articles on this subject explain the Relations and Contextual Filter configuration, but can't get it right apparently.