Contextual views - show articles that the current user is interested in Aim
I am working on a Drupal 8 site that has articles which have a 'interests' field, and each User profile has a 'interests' field.
I want to create a view that only shows articles that the currently logged in user is interested in. For example, if the currently logged in user is interested in &quot;Sports&quot; and &quot;Business&quot;, the view should show all articles that are tagged as either &quot;Sports&quot; or &quot;Business&quot;.
Attempts
I presume that the solution will involve using Relationships and Contextful Filters. I have read about both here and here.
I have checked previous answers, and think this one is pretty close to what I'm trying to do: Display content having the taxonomy of the logged in user
However, I couldn't seem to get it to work for Drupal 8
Amends
Include of screenshot
1) Create users View

2) Add contextual filter of User ID

3) a) Add relationship of reference field

3) b) Checkmark require this relationship

4) a) Add relationship of Content with term

4) b) Checkmark require this relationship

5) Now in FIELDS it should allow you to add title field

6) Remove Name from fields.
7) Add FILTER CRITERIA of Published content


Overall, should look like this: