Like Button - Problem with Data Types List

Actions & Logic

HI,

I have built a multi tenacy app where people can create events and add other people to the event via a code and post pictures.

But I despair at the like button of the pictures

I want users to be able to like the pictures posted by people.

In firebase I have created an array “ImagesParty” in the “News” collection (-> Means “Events” ) and a map where I want to display the image + likes. The likes should be a reference of the user who liked this post. I have recorded this in a data type

in the UI I have chosen a toggle icon for the Like button. But here I don't know what to set as the value.

I have seen in many tutorials that I have to select the array from the collection and then set “List Coontains Item” -> User Reference from authenticate User.

But I only get a document ID back.

What is the problem?

What have you tried so far?

Read and look many dokus

Did you check FlutterFlow's Documentation for this topic?
No
3 replies