I am a newbie and probably missing something very easy and thinking about this incorrectly, but I've tried a lot of alternatives and feel stuck.
I have a books collection and a users collections. Under the users collection I have a sub-collection called bookmarks.
On my search page, I have a list view of books populated from the books collection. For each item, there is a "bookmark" button with the goal of saving the book with notes and tags to the users bookmarks subcollection.
I have two bookmark buttons, unfilled and filled, to toggle between depending on if it has been bookmarked for that particular user.
My goal is for each book item to check the bookmarks subcollection to see if it exists and to choose between the two buttons, but I cannot figure out how to set up the conditional logic to do that.
Collections setup:
Item in the list with the two bookmark buttons: