Recently viewed list

Hey everybody, I was just wondering how I would go about making a recently viewed list.

Hey there @LoneWolf

You’d need a new collection called “Recently Viewed ____(change with item name”

For example, you have a collection of users and movies. You want a list of the recently viewed movies. You need a new collection called “Recently viewed movies”. This collection should have a one-to-many user relationship where a user can have many recently viewed movies but a recently viewed movie belongs to one user. This should also have a one-to-many relationship with the movie where recently viewed movies can have 1 movie and movies can have many recently viewed movies.

When a movie has been watched, you create a record for the “Recently watched movies” . Then, you can sort the movies by the record’s created date, newest to oldest.

1 Like

Awesome, thank you!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.