# \[SOLVED\]How do you display the container name from the firebase real time database

**URL:** <https://community.thunkable.com/t/solved-how-do-you-display-the-container-name-from-the-firebase-real-time-database/3023488>\
**Category:** Questions about Thunkable X\
**Tags:** firebase, help\
**Created:** [May 25, 2024, 6:19am UTC](https://community.thunkable.com/t/solved-how-do-you-display-the-container-name-from-the-firebase-real-time-database/3023488 "2024-05-25T06:19:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![itsvedanttikareztlgx](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/itsvedanttikareztlgx/32/179520_2.png) [@itsvedanttikareztlgx](https://community.thunkable.com/u/itsvedanttikareztlgx)\
**Post date:** [May 25, 2024, 6:19am UTC](https://community.thunkable.com/t/solved-how-do-you-display-the-container-name-from-the-firebase-real-time-database/3023488/1 "2024-05-25T06:19:07Z")

</div>

let me show you the exact problem

 ![Screenshot 2024-05-25 114127](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/6/d61556a535e537a7640bb3ab3327a7f33fae85bc.png)

when I run this it shows the end element in the database, which is cool since I want that too

![Screenshot 2024-05-25 114348](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/b/6b437c1721cc3021ad5ebe3ad9de7eab4ccea733.png)  
 ![Screenshot 2024-05-25 114434](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/a/aa0380afad508c718c918b20f547524b88091b14.png)

but when I want text of one of the containers

![Screenshot 2024-05-25 114614](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/e/fefa8cfc8d87b21b8c33f76d5b465104a33fe865.png)

doing this

 ![Screenshot 2024-05-25 114728](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/5/05d28574f32513661466af9c85fa92062c1b116d.png)

does not work

![Screenshot 2024-05-25 114805](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/1/d199ff0ab8c62ed85361127bb684323a545c9edc.png)

and if i say generate JSON then it shows everthing inside the table  
how do i solve this ??

helpp

---

<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:** [May 25, 2024, 2:32pm UTC](https://community.thunkable.com/t/solved-how-do-you-display-the-container-name-from-the-firebase-real-time-database/3023488/2 "2024-05-25T14:32:42Z")

</div>

You can get a property name by using this block:

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

So you would want to get the object properties of cloud variable “users/user1” which would return a list of all property names under that path. And then you can use List blocks to get a specific value from that list.

---

<div class="post-metadata">

**Author:** ![itsvedanttikareztlgx](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/itsvedanttikareztlgx/32/179520_2.png) [@itsvedanttikareztlgx](https://community.thunkable.com/u/itsvedanttikareztlgx)\
**Post date:** [May 26, 2024, 6:47am UTC](https://community.thunkable.com/t/solved-how-do-you-display-the-container-name-from-the-firebase-real-time-database/3023488/3 "2024-05-26T06:47:26Z")

</div>

i tried using  
get object properties block

but it simply doesn’t connect to other blocks

can you maybe show more explanation or how I can modify the whole code block to get the items

---

<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:** [May 27, 2024, 12:10pm UTC](https://community.thunkable.com/t/solved-how-do-you-display-the-container-name-from-the-firebase-real-time-database/3023488/4 "2024-05-27T12:10:16Z")

</div>

I’m on my phone so I can’t give you an example of the blocks but you can set an app variable to the get object properties block and then use that variable wherever you need to access those values.

---

<div class="post-metadata">

**Author:** ![itsvedanttikareztlgx](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/itsvedanttikareztlgx/32/179520_2.png) [@itsvedanttikareztlgx](https://community.thunkable.com/u/itsvedanttikareztlgx)\
**Post date:** [May 24, 2024, 8:35am UTC](https://community.thunkable.com/t/solved-how-do-you-display-the-container-name-from-the-firebase-real-time-database/3023488/5 "2024-05-24T08:35:22Z")

</div>

In a nutshell the problem is that from firebase database I am able to get the end object but not container name inside which the object is placed

here I the link to the video, exactly explaining my question.

> **[Untitled video - Made with Clipchamp.mp4](https://drive.google.com/file/d/1qT7oyImsmVay_wxQntrZ6zQ9pJWJeqvl/view?usp=sharing)**
>
> Google Drive file.

---

<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:** [May 27, 2024, 7:48pm UTC](https://community.thunkable.com/t/solved-how-do-you-display-the-container-name-from-the-firebase-real-time-database/3023488/6 "2024-05-27T19:48:06Z")

</div>

Hello @itsvedanttikareztlgx  
Here is an example using the “Get Object Properties of” block:

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

---

<div class="post-metadata">

**Author:** ![marion.dorsett](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/marion.dorsett/32/175129_2.png) [@marion.dorsett](https://community.thunkable.com/u/marion.dorsett)\
**Post date:** [May 27, 2024, 8:51pm UTC](https://community.thunkable.com/t/solved-how-do-you-display-the-container-name-from-the-firebase-real-time-database/3023488/7 "2024-05-27T20:51:36Z")

</div>

@itsvedanttikareztlgx you populate the object properties to a simple list for debugging to make sure you’re getting the expected output.

 ![object-properties](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/8/284c711ab84606901bf30589a132f8afdaa6d8f2.png)  
 ![object-properties-01](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/9/79c539d6e7e5de510e8bd5f902f12f5c06573ecf.png)

I tried to mock up your example data using this JSON:  
{“users”: {“users1”:{“inventory”:{“item1”:{“item1name”:“iOS device”,“item1quantity”:5},“item2”:{“item1name”:“android device”,“item1quantity”:22}},“personal”: {}, “business”:{}}}}

---

<div class="post-metadata">

**Author:** ![itsvedanttikareztlgx](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/itsvedanttikareztlgx/32/179520_2.png) [@itsvedanttikareztlgx](https://community.thunkable.com/u/itsvedanttikareztlgx)\
**Post date:** [May 28, 2024, 6:25am UTC](https://community.thunkable.com/t/solved-how-do-you-display-the-container-name-from-the-firebase-real-time-database/3023488/8 "2024-05-28T06:25:27Z")

</div>

yes this works thank you very much for your help

---

<div class="post-metadata">

**Author:** ![itsvedanttikareztlgx](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/itsvedanttikareztlgx/32/179520_2.png) [@itsvedanttikareztlgx](https://community.thunkable.com/u/itsvedanttikareztlgx)\
**Post date:** [May 28, 2024, 6:44am UTC](https://community.thunkable.com/t/solved-how-do-you-display-the-container-name-from-the-firebase-real-time-database/3023488/9 "2024-05-28T06:44:50Z")

</div>

thank you very much this works and it also solves another question I had.  
happy tuesday✨

---

<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:** [May 28, 2024, 11:37am UTC](https://community.thunkable.com/t/solved-how-do-you-display-the-container-name-from-the-firebase-real-time-database/3023488/10 "2024-05-28T11:37:45Z")

</div>


