Saved Destinations Not Displaying from TinyDB on Second Screen Using DynamicComponents

Hi Koders,
I’m working on a delivery planner app using Kodular + TinyDB + DynamicComponents. The app allows the user to add delivery destinations (address, contact, etc.) to a selected list, and then view them on another screen.

:white_check_mark: What I’m Doing:

  • Screen 1 (AddDestination): Saves destination as a dictionary inside a list using TinyDB.StoreValue
  • Screen 2 (DestinationList): Reads the list using TinyDB.GetValue and creates dynamic cards with destination details

:cross_mark: The Problem:

Even after saving a destination:

  • It doesn’t appear in the DestinationList screen
  • Or it sometimes fails to save entirely
  • I suspect GetValue might not be working as expected, or it’s not waiting to return the data

:test_tube: What I Tried:

  • Checked tag names (same across screens)
  • Initialized global allDestinations to result of GetValue
  • Tried using default empty list fallback
  • Used DynamicComponents to build cards

I’ve attached both screen block screenshots:

  • AddDestination (Save logic)
  • DestinationList (Load and Display logic)

:red_question_mark: My Questions:

  1. Is TinyDB.GetValue asynchronous? If yes, what is the right way to handle this without GotValue block?
  2. How do I ensure data is properly loaded before starting the dynamic components loop?
  3. Am I missing any better practice for cross-screen TinyDB usage?

Thank you in advance! :folded_hands:
Ahmed

TinydDb will work as usual , no problem in that. If it didnot work, make sure

  1. you are using same namespace for tinydb in all the screens.
  2. Even after set if it is not work as expected, share your blocks