# Populating a list from properties of Firebase results

**URL:** https://community.thunkable.com/t/populating-a-list-from-properties-of-firebase-results/896094
**Category:** Questions about Thunkable X
**Tags:** firebase, solved, beginner
**Created:** [October 12, 2020, 11:36pm UTC](https://community.thunkable.com/t/populating-a-list-from-properties-of-firebase-results/896094 "2020-10-12T23:36:11Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![ngossiump](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ngossiump/32/85351_2.png) [@ngossiump](https://community.thunkable.com/u/ngossiump)
#### Post date: [October 12, 2020, 11:36pm UTC](https://community.thunkable.com/t/populating-a-list-from-properties-of-firebase-results/896094/1 "2020-10-12T23:36:11Z")

</div>

Can anyone help me. I’m trying to populate a list of item, but instead of using the node name of the item (bShout for example), I’d like to grab the value of the “name” property and use that. Can anyone help with with this please?

Here’s the data and what I’ve tried so far:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/f/dfc01118a26be44331e9f4b36d3ac0e3772a65b5.png)  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/a/fadc9705672f9400a817b8e22aa13f9fa243b57d.png)

---

<div class="post-metadata">

### Author: ![francabral](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@francabral](https://community.thunkable.com/u/francabral)
#### Post date: [October 13, 2020, 12:22am UTC](https://community.thunkable.com/t/populating-a-list-from-properties-of-firebase-results/896094/3 "2020-10-13T00:22:08Z")

</div>

No es necesario que inicialices una variable en la aplicación, directamente en el bloque insert in list, cambia la variable abril, por el bloque del tipo variable “cloud” unido a un bloque del tipo texto que contenga la palabra Abilities…  
entiendes? y no es necesario el bloque Get realtime, quitalo… y prueba si funciona…

---

<div class="post-metadata">

### Author: ![ngossiump](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ngossiump/32/85351_2.png) [@ngossiump](https://community.thunkable.com/u/ngossiump)
#### Post date: [October 13, 2020, 3:49am UTC](https://community.thunkable.com/t/populating-a-list-from-properties-of-firebase-results/896094/4 "2020-10-13T03:49:14Z")

</div>

First, thank you much for a prompt answer. Hopefully translation worked correctly. Where you suggesting something like this?

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/7/876fc05a0b7372051d342558b693a7d6020bf040.png)

If so, that did not work.

---

<div class="post-metadata">

### Author: ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)
#### Post date: [October 13, 2020, 5:48am UTC](https://community.thunkable.com/t/populating-a-list-from-properties-of-firebase-results/896094/5 "2020-10-13T05:48:29Z")

</div>

you have to use blocks like this

for each item j in list : get object properties of Cloud Abilities  
in list APP something ~~~~ as get property name of object j “of” object cloud abilities  
(and remove realtime-get)

becuz “j” is just a word not meaning the exact value in the firebase

and i dont know why you used cloud abilities there, if it succeed like that way, then it will be added in firebase

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

---

<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: [October 13, 2020, 10:12am UTC](https://community.thunkable.com/t/populating-a-list-from-properties-of-firebase-results/896094/6 "2020-10-13T10:12:02Z")

</div>

Use the get object properties of nice work!!

---

<div class="post-metadata">

### Author: ![ngossiump](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ngossiump/32/85351_2.png) [@ngossiump](https://community.thunkable.com/u/ngossiump)
#### Post date: [October 13, 2020, 4:58pm UTC](https://community.thunkable.com/t/populating-a-list-from-properties-of-firebase-results/896094/7 "2020-10-13T16:58:44Z")

</div>

Thank you so very much, saramdl.gaunde021. That worked!

Question for you, in your example you used “\_tempList”, but it’s not of a variable type. In my mine, I made an app variable; “app \_tempList”. I’ve looked through the help, but I don’t see how to make an unscoped variable. How, if you don’t mind me asking, did you do that one?

---

<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: [October 13, 2020, 5:43pm UTC](https://community.thunkable.com/t/populating-a-list-from-properties-of-firebase-results/896094/8 "2020-10-13T17:43:19Z")

</div>

Functions. They are scoped. They’re scoped to the function they come from if used in the function. They’re scoped to the page if used out of the function. They don’t work across screens.

---

<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 14, 2020, 1:21pm UTC](https://community.thunkable.com/t/populating-a-list-from-properties-of-firebase-results/896094/9 "2020-10-14T13:21:28Z")

</div>

Additionallt, if you are going to be digging around in a JSON tree, you might want to check out the “dictionary” functions here [[Solved] Where the dictionary block in Thunkable?](http://community.thunkable.com/t/solved-where-the-dictionary-block-in-thunkable/656564/14)

Using the GetProperty function will save you a lot of nested loops.

Happy Thunking!

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:22pm UTC](https://community.thunkable.com/t/populating-a-list-from-properties-of-firebase-results/896094/10 "2024-11-08T12:22:06Z")

</div>


