2

What determines which fields are available in the views relationship options?

When creating a view, you can use Relationships, choosing from a list of available fields. Are all created fields supposed to be available for relationship in any view? It seems that some fields are available and some are not.

Example: I have Students and School as my Content Types. Students uses a Node Reference to School. When creating a view, I use Relationship, and a bunch of fields are there to choose from. As expected, School is there, because it is referenced in a field. But there are a lot more fields available. Why are those fields available? What criteria do fields fill to be available to use?

1

One thing that affects the choice of the fields that are available is the show box when you first create the view this allows the developer to refine the criteria that is being chosen.

1

Inherently relational field types will automatically be there (e.g. entity reference, taxonomy). Other fields, like integer or text field, don't have anything to relate to by default.

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.