How to autogenerate document reference?

Hi, I'm new to FlutterFlow. I'm currently making an itinerary app and I would like to create an itinerary per user, meaning all the users can create their own itinerary. I'd like it to be seen only by who created it so I made a document reference list from the "admin" collection to the "premadeItinerary" collection.

I already did some dynamic child and some backend query (document from reference) and somehow it shows when I manually configure the document reference in Firebase.

Is there any way that the document reference be automatically generated depending on who is the authenticated user? Because in here, I just manually input the reference in order for the details to be shown.

1 reply