Im trying to build a query that loads the document users/{currentUserUid}/days/{yyyy-MM-dd} on my DayOverview page.
Doc type chosen in the dialog:
Query Type:
Document from Reference
Collection:
days
Query Type inside box:
Single Document
According to the docs ( https://docs.flutterflow.io/resources/backend-query/document-from-reference ) you should:
put a parent reference that points to the current user (
users/{uid}
)set the Document Id to today’s date.
What actually happensIn the “users Reference (Optional)” UNSET field I open Set Variable.
I do see Authenticated User in the list, but only scalar values (Email, User ID, …).
User ID is greyed out because the field expects a DocumentReference, not a string.If I try entering raw code like
FirebaseFirestore.instance.doc('users/' + currentUserUid)
the field stays red with “type mismatch”.
Result: I cannot give the query a valid parent reference.