# Get tag list and cloud variables

**URL:** <https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390>\
**Category:** Questions about Thunkable X\
**Created:** [November 25, 2021, 7:24pm UTC](https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390 "2021-11-25T19:24:05Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)\
**Post date:** [November 25, 2021, 7:24pm UTC](https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390/1 "2021-11-25T19:24:05Z")

</div>

hi

I thought I was done with json but I had to rewrite my application using only firebase and what I got quite easily with google sheets becomes trickier with firebase  
my problem is that I would like to get the list of tags in my “connected” bucket

---

<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:** [November 25, 2021, 9:41pm UTC](https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390/2 "2021-11-25T21:41:30Z")

</div>

When you say `tags` do you mean `keys`?

Use this  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/2/a2ba03dbd542857ae6261a6b7bdfb6c34cfa02f6.png)

---

<div class="post-metadata">

**Author:** ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)\
**Post date:** [November 26, 2021, 8:22pm UTC](https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390/3 "2021-11-26T20:22:16Z")

</div>

What can i say ? Thanks

Switching to firebase is trickier than I thought!  
I created an object specific to individual at an instant t which records his entry on a given date  
how can I do to modify this object created on this given date?

---

<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:** [November 26, 2021, 9:46pm UTC](https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390/4 "2021-11-26T21:46:51Z")

</div>

Show a screenshot of your Firebase data structure.

---

<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:** [November 27, 2021, 4:15am UTC](https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390/5 "2021-11-27T04:15:56Z")

</div>

I’m not sure I understand you but if you want to change any value in the database in Firebase then you need to change the value of the key.

Note that when you change any thing in the key, the values under this key is effected so you need to be careful with it.

---

<div class="post-metadata">

**Author:** ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)\
**Post date:** [November 27, 2021, 2:45pm UTC](https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390/6 "2021-11-27T14:45:22Z")

</div>

hi

here is my Firebase data structure

 ![Capture d’écran 2021-11-27 à 15.36.14](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/1/41decc77da7b421f5be43ec6376c983150ee2c88.png)

---

<div class="post-metadata">

**Author:** ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)\
**Post date:** [November 27, 2021, 3:46pm UTC](https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390/7 "2021-11-27T15:46:31Z")

</div>

hi

 ![Capture d’écran 2021-11-27 à 16.17.40](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/5/d/5d13516edac6762919f3c3eae5d98ba20b648c1a.png)

i would like to update property end (old instantfin in the screehshot above)  
between the cloud variable and the object I get lost  
so well that I realize that I erase the previous object each time  
while each connection must give rise to the creation of an object

---

<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:** [November 27, 2021, 5:04pm UTC](https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390/8 "2021-11-27T17:04:56Z")

</div>

Use something like this

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/e/6e1f1054f458905c8ec91e5eca10e9f2f2aea36f.png)

---

<div class="post-metadata">

**Author:** ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)\
**Post date:** [November 27, 2021, 6:12pm UTC](https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390/9 "2021-11-27T18:12:17Z")

</div>

Sorry it doesn’t work

---

<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:** [November 27, 2021, 7:01pm UTC](https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390/10 "2021-11-27T19:01:58Z")

</div>

It should work according to the data structure you showed above.

Did you check what was updated in the database?

Or display the content in a label after you run the update (set) block  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/8/a8101293d15fa3e89815cdfad6a271c5cf868520.png)

---

<div class="post-metadata">

**Author:** ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)\
**Post date:** [November 27, 2021, 7:23pm UTC](https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390/11 "2021-11-27T19:23:40Z")

</div>

indeed it works  
my mistake is that I should have shown more blocks and you would have had a broader view of what I’m trying to do (I deleted several parasite blocks)

But I still have one problem: if the user connects several times in the same day, the application retains the last connection  
I would like to converse the date and user name as a key  
I don’t really see how to differentiate these connections

---

<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:** [November 27, 2021, 7:33pm UTC](https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390/12 "2021-11-27T19:33:00Z")

</div>

You need to maintain it in a list of objects and add to the every time the user connects again.

---

<div class="post-metadata">

**Author:** ![bibbi](https://avatars.discourse-cdn.com/v4/letter/b/db5fbb/32.png) [@bibbi](https://community.thunkable.com/u/bibbi)\
**Post date:** [November 28, 2021, 7:00am UTC](https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390/13 "2021-11-28T07:00:31Z")

</div>

I was able to get this by using a “stored variable” as counter

 ![Capture d’écran 2021-11-28 à 08.09.55](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/e/fec651e678a97106a6ad54b9a826f7ada4510554.png)

 ![Capture d’écran 2021-11-28 à 07.51.10](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/5/854fcc8c756ddc1ef63633a73f23f143346d24b4.png)

but it won’t work if the user uses another device in the meantime

I tried to translate into blocks :

> You need to maintain it in a list of objects and add to the every time the user connects again.

I think it’s good now:

 ![Capture d’écran 2021-11-28 à 09.18.29](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/2/b2f2f374671cc2b7f385e4528310d353a180ede6.jpeg)

I’ll keep it simple: a big thank you muneer !!!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [February 26, 2022, 7:01am UTC](https://community.thunkable.com/t/get-tag-list-and-cloud-variables/1634390/14 "2022-02-26T07:01:18Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
