# How can i pull all data in firebase to list in thunkable?

**URL:** <https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320>\
**Category:** Questions about Thunkable X\
**Created:** [March 19, 2020, 10:14am UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320 "2020-03-19T10:14:20Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [September 24, 2020, 9:06pm UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/22 "2020-09-24T21:06:11Z")

</div>

Could you please show your blocks and an image of the screen with the results?

Based on the realtime data in your last post, it looks like you might be creating two separate milestone objects instead of one milestone object with 2 properties.

---

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [September 27, 2020, 8:57am UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/23 "2020-09-27T08:57:05Z")

</div>

Hi,

Thanks again for reply. Have attached 3 screen shots.

**Design** - The design of the app  
**Block 1** - Blocks where I have initiated variables, defined how to enter text and then how to write it to Realtime DB. I am entering Milestone No. in Text\_MS1 and Milestone details in Text\_MS2  
**Block 3** - Blocks where I am trying to retrieve all the Milestone nos. and Milestone details after clicking Back button

 ![Block 1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/0/b038bc2e94c41f032272a45da8b612e889cd90f1.png) ![Block 2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/5/15ba0d96b7a73ffdfd466deea6bef94c03a63f66.png) ![Design](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/7/47b2bc598f5432ecfb39c0f640b452efc1987a9d.png)

---

<div class="post-metadata">

**Author:** ![shirohin6](https://avatars.discourse-cdn.com/v4/letter/s/dbc845/32.png) [@shirohin6](https://community.thunkable.com/u/shirohin6)\
**Post date:** [September 27, 2020, 11:02am UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/24 "2020-09-27T11:02:27Z")

</div>

Hi guys,

I was able to get the problem solved and I was able to read all the data from Firebase to the app. But now there is a 2nd poblem 🙂 - when ever I reopen the app, the old data doesnt get captured.

Do have a look at my project and suggest if you have any solution. My project link is  
[https://x.thunkable.com/copy/55d15a229db93d07676ed7cdb64d73e2](https://x.thunkable.com/copy/55d15a229db93d07676ed7cdb64d73e2)

---

<div class="post-metadata">

**Author:** ![h.s.vreemancru4v4](https://avatars.discourse-cdn.com/v4/letter/h/919ad9/32.png) [@h.s.vreemancru4v4](https://community.thunkable.com/u/h.s.vreemancru4v4)\
**Post date:** [October 29, 2020, 9:25am UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/25 "2020-10-29T09:25:06Z")

</div>

I have kind of the same issue. I have this database structure:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/4/b406372f45e4bef4c23d9a14dc7f423ad34a954f.png)

I want to collect data from it and present it in a list viewer. But whatever I tried, some other loops to, I did not get anything in my list. This is the block I used for that:  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/b/3b1957196d0abb3dd57ff4a760b426ae97626a12.png)

Do you have any idea how to fix this?

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [October 29, 2020, 10:44am UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/26 "2020-10-29T10:44:13Z")

</div>

[h.s.vreemancru4v4](http://community.thunkable.com/u/h.s.vreemancru4v4),

I have seen and experienced the same problem. Many people have this issue. The problem is that the Realtime\_DB1 Get block is asynchronous. If you want to use it more than once, you must tell Thunkable to wait until it is finished.

There are many possible solutions. Below is my current favorite solution.

Create a Get Cloud Property function EXACTLY as show. You can then use this function anywhere you would otherwise use the Realtime\_DB1 Get block as I show in the example “Any Button” click event. This example uses a list parameter called “KeyPath” to map the JSON key hierarchy. The Return values is whatever it finds at the end of the path. For your example, it returns the value in Title.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/c/0cc51d6cb5a74f63840a710330fa5fa1b39d6a93.png)

Happy Thunking!

---

<div class="post-metadata">

**Author:** ![nurfarhanah19971fb5x](https://avatars.discourse-cdn.com/v4/letter/n/34f0e0/32.png) [@nurfarhanah19971fb5x](https://community.thunkable.com/u/nurfarhanah19971fb5x)\
**Post date:** [February 5, 2021, 5:00pm UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/27 "2021-02-05T17:00:49Z")

</div>

Hi I am a newbie. I have the same problem. So the list of data that i am trying to get from my firebase is as follows

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/e/4/e42fb5a8ff7350b574ba028cea9df702bff0ee9f.png)  
I tried to follow the solution closely. However i cant seem to find the COMPONENT block.  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/9/09330bc2646eb0e24d39c5c9347230c61f29c812.png)  
I am not able to get my list of data from firebase. May I know where i went wrong? Thank you.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [February 5, 2021, 5:10pm UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/28 "2021-02-05T17:10:24Z")

</div>

The easiest way to start is to open a screen and add a `List Viewer` in it. Then in the block screen add this code

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/4/441dc5b3ad4942401e0649fde9d232fbd206ed97.png)

If you have already connected your firebase to your project, you should see a list of all vehicles in the screen.

---

<div class="post-metadata">

**Author:** ![bader\_mouti](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bader_mouti/32/98887_2.png) [@bader\_mouti](https://community.thunkable.com/u/bader_mouti)\
**Post date:** [February 5, 2021, 5:22pm UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/29 "2021-02-05T17:22:23Z")

</div>

Can you please explain more  
I need this too  
I have a product that I have it in the fierbaas  
And I want to show them in my app by the data viewer

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [February 5, 2021, 5:27pm UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/30 "2021-02-05T17:27:50Z")

</div>

Please note that DVL (Data Viewer List) requires a direct connection to a table and cannot be used with Firebase directly.

For the example of the vehicles, if you want the data displayed in a DVL instead of the List Viewer then you will need a Local Data Source. You will use a list variable to store the values from Firebase and then you will loop through all the values in the list and save the values in the Local Data Source table you created. This table is connected with the DVL and the data will show in the screen this way.

I hope this is clear.

---

<div class="post-metadata">

**Author:** ![bader\_mouti](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/bader_mouti/32/98887_2.png) [@bader\_mouti](https://community.thunkable.com/u/bader_mouti)\
**Post date:** [February 5, 2021, 6:40pm UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/31 "2021-02-05T18:40:27Z")

</div>

but like that the app will not work slowly ؟؟

by the way  
Do you have Example app such as usual 😅

thank you

---

<div class="post-metadata">

**Author:** ![nurfarhanah19971fb5x](https://avatars.discourse-cdn.com/v4/letter/n/34f0e0/32.png) [@nurfarhanah19971fb5x](https://community.thunkable.com/u/nurfarhanah19971fb5x)\
**Post date:** [February 6, 2021, 3:23am UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/32 "2021-02-06T03:23:20Z")

</div>

Thank you. I follow this steps. However, only the each study appear and not the details of it as shown below.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/d/ad2216911a9f78b6f09388d85b147ee478867857.png)  
I cannot see the number of each vehicle counted. How do i improve on this?

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [February 6, 2021, 7:22am UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/33 "2021-02-06T07:22:24Z")

</div>

That’s a good result.

Now you can add labels in the screen to any information you want to display. When you click on any item in the list, you need something similar to this code to display the values stored.

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/d/1df4c2d401d9983a54f0465a3e6ad537f169293f.png)

Of course, you will need to do it for each piece of info you want it displayed.

Happy Thunking

---

<div class="post-metadata">

**Author:** ![nurfarhanah19971fb5x](https://avatars.discourse-cdn.com/v4/letter/n/34f0e0/32.png) [@nurfarhanah19971fb5x](https://community.thunkable.com/u/nurfarhanah19971fb5x)\
**Post date:** [February 6, 2021, 1:26pm UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/34 "2021-02-06T13:26:31Z")

</div>

Thank you. I successfully displayed all of them on my app.

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [February 6, 2021, 1:32pm UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/35 "2021-02-06T13:32:16Z")

</div>

Glad to have helped

---

<div class="post-metadata">

**Author:** ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)\
**Post date:** [June 1, 2021, 8:55pm UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/36 "2021-06-01T20:55:15Z")

</div>

amazing solution… solved my issue after ive searched alot for this. thank you.

---

<div class="post-metadata">

**Author:** ![human](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/human/32/101416_2.png) [@human](https://community.thunkable.com/u/human)\
**Post date:** [June 2, 2021, 12:56am UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/37 "2021-06-02T00:56:47Z")

</div>

Please don’t bump topics to the top because it spams the forum and prevents us from seeing what is important. Just give a like to muneer’s post to share the love ❤

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [June 25, 2021, 6:02am UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/39 "2021-06-25T06:02:30Z")

</div>

@deeparaj096t5s70 If you have a tutorial video to share with the community, instead of posting it on multiple topics and bumping them all to the top of everyone’s list, just post in the Tutorials category **once**.

> **[Thunkable Tutorials](https://community.thunkable.com/c/thunkable-tutorials/56)**
>
> This category is for all written and video tutorials that are specific to Thunkable ✕.

---

<div class="post-metadata">

**Author:** ![najah8998nbkxk](https://avatars.discourse-cdn.com/v4/letter/n/e47774/32.png) [@najah8998nbkxk](https://community.thunkable.com/u/najah8998nbkxk)\
**Post date:** [December 29, 2021, 4:17pm UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/40 "2021-12-29T16:17:56Z")

</div>

hi. nurfarhanah1997. i have question to you about the code. do you mind give your email for me to contact

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [December 29, 2021, 4:37pm UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/41 "2021-12-29T16:37:02Z")

</div>

Hey @najah8998nbkxk

What’s your query?! 🙂  
Are you working with lists in firebase?

---

<div class="post-metadata">

**Author:** ![najah8998nbkxk](https://avatars.discourse-cdn.com/v4/letter/n/e47774/32.png) [@najah8998nbkxk](https://community.thunkable.com/u/najah8998nbkxk)\
**Post date:** [January 4, 2022, 5:03pm UTC](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320/42 "2022-01-04T17:03:26Z")

</div>

yes. I’m having problem that thunkable does not show the data from firebase. I had follow the step from muneer but still no data appear on the app

 ![Screenshot (380)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/0/903b589b08fc0ce7876bbaff879468065d3c91ea.png)  
 ![Screenshot (382)](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/7/07226dcc17803f9291a150de8ff344114b586545.png)

[Previous page](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320.md?page=1)

[Next page](https://community.thunkable.com/t/how-can-i-pull-all-data-in-firebase-to-list-in-thunkable/523320.md?page=3)
