[![enter image description here]]I have a content type of "School." I have a content type of "Event" that contains an entity reference to "School" so that events can be linked to schools. I can create a view block that filters by the school, when the block is placed on the node of the school, using contextual filters.
The problem: Starting with the built-in "Basic Page," I added an entity reference to "School" so that "Basic Pages" can be linked to a "School," and be subpages of the "School." How do I filter a view of "Events" that when placed on a "Basic Page" the "Events" block view will filter based on the entity reference, "Schools," that is shared between the "Event" and "Basic Page?" I am looking to have an "Events" subpage that lists all the events of that individual school. I am trying to avoid having to create separate block views that use filter criteria of each individual school. I was hoping to use contextual filters.