Skip to main content
← Data, API & Backend
Data, API & Backend October 12, 2022 · 2 replies

Conditional Database Results To a Single Screen?

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

I'm not sure the best way to go about this.

I'm using Xano if that helps.

I have items, categories, locations, and lists.

I'd like to have one screen that loads a tile of "My Items", or "My Categories", or "My Locations", or "My Lists"

Under that, I will populate cards of all of whichever data is sent that matches.

The layout cards and the names on the cards are in the same format and layout across all four options so it would just be grabbing differently named data fields to populate the images and then the names.

This currently works fine by setting up 4 different screens and sending the corresponding button push to the appropriate screen, but I'm trying to save screens. 

Is there a tutorial for something like this?

howto-multi-results.png

2 replies

Casey October 14, 2022

Unless I'm missing something, nested lists are used  to organize and relate the data (my lists pages for example, items within both categories and locations in my example)  the problem is displaying the data.

In the nested list tutorial on Bravo with Xano, they solved it the same way I did, they created two screens, one for regions and one for cities.  This is what I'm trying to avoid.  

https://docs.bravostudio.app/resources/app-cases/xano-build-nested-lists

consolidate-screens.png

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