Calculate / automatically fill in attribute value

0
Hi all, I have a page where i can click on certain movies to watch (youtube widget), each movie has a genre. Now, on my homepage i need a list of all the movies of that particular genre i just watched. How would i calculate / fill in the value for suggestion_genre automatically so i can retrieve it on the user homepage ? Or is it better to make an attribute in the user entity ? A simplified version of my domain model would look like this:  
asked
1 answers
2

Are you only storing movies that have already been watched? If not, you need an indicator if it has been watched and when. If you know when it has been watched, you can retrieve the latest movie that has been watched. Based on this, you can create a list of suggestions for the user.
Are you showing the suggestions in a listview/templategrid? Use a datasource microflow doing what I just described.

answered