Skip to main content
← Data, API & Backend
Data, API & Backend January 7, 2024 · 9 replies

filter by email id firebase

Archived from the Bravo community forum (2021–2026). Some answers may refer to older versions of Bravo.

Hello can someone explain me how to filter a list by the user email

I jave a list page with different data from different email thatsame email are already into firebase………..when someone of this user email login to my app how can i filter a specific page by this user email that had the access to the app ????

9 replies

Sammy January 7, 2024

Not sure if this is the best way to achieve it but I achieved this in Xano.

I added user id (same as the auth id) to all the list items as required when users initially add list items.

Then when using ‘query all records’ I filtered the records to only show when user id column in the data base matches auth id.

There might be a way easier way to achieve this but that’s what I did.

andrea January 7, 2024

hy thank you very much and what did you use for filter on bravo studio Get list ?

Sammy January 7, 2024

I made a separate API end point in Xano for the filtered list as my user filtered list is on a separate page to the ‘all items’ list.

andrea January 7, 2024

i have all my user in the same page so I want to do a list request but filtered in base of which user is logeed at that moment………..because they have to check only their invoice

Stéphan January 8, 2024

Hello Andrea
Here is a suggestion: create an Airtable database linked to your ERP if possible, or create an entirely new database in accordance with your ERP for the application. Also, check if your ERP can be directly used with Bravo Studio. This information will be linked to each automatically generated user ID.

To implement this with Airtable, create a Firebase login page, a profile page with its associated form if you wish, a homepage for the list of services, a details page for detailed information on the services, a one-time usable form page (name, first name, email address, phone number, subscription information) linked to the subscription page and the automatic generation of IDs. Also, add a page to display user subscriptions and a payment page with a WebView (a specific payment link from Airtable for each service).

Regarding Airtable, the subscription table should contain all user subscription information. In Figma, the subscription form page will only contain relevant fields (name, first name, email address, phone number) and a "send" button. By executing this, you will obtain the ID, name, email, and phone number as results. This will allow you to compare them in your ERP and complete the remaining subscription information. Thus, the user will have all their subscription information thanks to the synchronization of the GET LIST with the subscription interface designed in Figma.

Wrote something in this thread and want it removed? Request removal

Still stuck?

Ask the community on Discord

This archive is read-only. New questions, office hours and product updates now happen in the Bravo Discord.

Join the Discord