I have a component inside a listview widget that I need to reference to two firebase collections, my courses collection and my users collection. How do I bind some fields inside the component to the users collection and other fields to the courses collection?
How to bind data in a component to two collections
Database & APIs
In my courses collection, I have a reference doc to my users collection. I have added the course collection as the query collection on the listview widget. I can bind course collection data to fields without a problem. But I also need to bind some widgets to the user of that course. When I select "Course Document" then "user reference", the only thing I see is "Document ID". What I need to see is the fields I have set up in my user collection (e.g. first name, last name, etc.)
Yes
1
3 replies