# Help with Firebase and Thunkable Children

**URL:** <https://community.thunkable.com/t/help-with-firebase-and-thunkable-children/74662>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [April 15, 2019, 5:53pm UTC](https://community.thunkable.com/t/help-with-firebase-and-thunkable-children/74662 "2019-04-15T17:53:44Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Colby\_Frechette](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@Colby\_Frechette](https://community.thunkable.com/u/Colby_Frechette)\
**Post date:** [April 15, 2019, 5:53pm UTC](https://community.thunkable.com/t/help-with-firebase-and-thunkable-children/74662/1 "2019-04-15T17:53:44Z")

</div>

I am new to Thunkable and databases and I am having a hard time implementing a database into my app. The general idea of my app is to save multiple PRs (Personal Records) for track athletes. However, many athletes participate in multiple events (100m dash, Javelin, Shotput, etc.). My problem first arose when I tried to set objects as values in Local Storage. Due to this, I decided to switch over to a Firebase Realtime database as I would now be able to see the data, in a third party application. My main issue now seems to be adding children to values in the database through Thunkable. In the firebase console I can click the plus button and create this ![BetterFirebaseExample](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/4/5438ec2f975be2de92ac15d7df4d2b55c82c8f81.png)  
This would work great for what I am trying to do, except I cannot figure out how to add the children through Thunkable, if it is even possible. On top of this, I cannot figure out how I would call these. If there is any other way to do what I am trying to do, please let me know. Any help you guys could provide would be awesome.

---

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [April 16, 2019, 2:29am UTC](https://community.thunkable.com/t/help-with-firebase-and-thunkable-children/74662/2 "2019-04-16T02:29:39Z")

</div>

Just add the “directory” to the tagname. If it does not exist it will be created as long as a value is added

tag Name/Javelin/  
Value 15,43,2

---

<div class="post-metadata">

**Author:** ![Colby\_Frechette](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@Colby\_Frechette](https://community.thunkable.com/u/Colby_Frechette)\
**Post date:** [April 16, 2019, 2:42am UTC](https://community.thunkable.com/t/help-with-firebase-and-thunkable-children/74662/3 "2019-04-16T02:42:54Z")

</div>

@Cian_O_Sullivan How would I do this with Thunkable blocks though? That is the part I cannot figure out.

---

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [April 16, 2019, 3:13am UTC](https://community.thunkable.com/t/help-with-firebase-and-thunkable-children/74662/4 "2019-04-16T03:13:22Z")

</div>

> [@Cian\_O\_Sullivan](#):
>
> Name/Javelin/

Just add the name of the “directory” you want to the tag name.

Do you know how to use tags and values?

---

<div class="post-metadata">

**Author:** ![Colby\_Frechette](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@Colby\_Frechette](https://community.thunkable.com/u/Colby_Frechette)\
**Post date:** [April 16, 2019, 3:31pm UTC](https://community.thunkable.com/t/help-with-firebase-and-thunkable-children/74662/5 "2019-04-16T15:31:26Z")

</div>

@Cian_O_Sullivan I was able to figure out how to save those values in different events, but now I want to call all the events (Javelin, Shotput, Etc.) of one athlete to be displayed as follows.

Athlete Name  
Javelin - PR  
Shotput - PR

Is there anyway to do this?

---

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [April 16, 2019, 3:47pm UTC](https://community.thunkable.com/t/help-with-firebase-and-thunkable-children/74662/6 "2019-04-16T15:47:51Z")

</div>

You need to get the parent tag, which gives a list of tags, then with that list do a loop to get the other tags and values.

---

<div class="post-metadata">

**Author:** ![Colby\_Frechette](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@Colby\_Frechette](https://community.thunkable.com/u/Colby_Frechette)\
**Post date:** [April 16, 2019, 3:49pm UTC](https://community.thunkable.com/t/help-with-firebase-and-thunkable-children/74662/7 "2019-04-16T15:49:09Z")

</div>

Can you make a quick example? I’m not sure I understand what you mean.

---

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [April 16, 2019, 4:32pm UTC](https://community.thunkable.com/t/help-with-firebase-and-thunkable-children/74662/8 "2019-04-16T16:32:20Z")

</div>

Please go through the docs and try some examples.

[https://docs.thunkable.com/realtime-db](https://docs.thunkable.com/realtime-db)

---

<div class="post-metadata">

**Author:** ![orbify](https://avatars.discourse-cdn.com/v4/letter/o/3d9bf3/32.png) [@orbify](https://community.thunkable.com/u/orbify)\
**Post date:** [April 18, 2019, 6:19pm UTC](https://community.thunkable.com/t/help-with-firebase-and-thunkable-children/74662/9 "2019-04-18T18:19:27Z")

</div>

Tags don’t exist in Thunkable X do they?

I am having the same problem as Colby - I want to access children of my Firebase root - but without a Tag component in Thunkable X, unless I know what the name of the children are ahead of time, how would I be able to pull out a list and stick it in a list-view (as an example where the names of the children branches are indeed variables).

🙂

---

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [April 18, 2019, 7:47pm UTC](https://community.thunkable.com/t/help-with-firebase-and-thunkable-children/74662/10 "2019-04-18T19:47:17Z")

</div>

Just a naming issue

Review this

[https://docs.thunkable.com/realtime-db](https://docs.thunkable.com/realtime-db)

---

<div class="post-metadata">

**Author:** ![Colby\_Frechette](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@Colby\_Frechette](https://community.thunkable.com/u/Colby_Frechette)\
**Post date:** [April 19, 2019, 12:18am UTC](https://community.thunkable.com/t/help-with-firebase-and-thunkable-children/74662/11 "2019-04-19T00:18:49Z")

</div>

Have you had any luck @orbify ?

---

<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:13pm UTC](https://community.thunkable.com/t/help-with-firebase-and-thunkable-children/74662/12 "2024-11-08T12:13:58Z")

</div>


