Get tag list and cloud variables

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

2 Likes

When you say tags do you mean keys?

Use this
image

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?

2 Likes

Show a screenshot of your Firebase data structure.

1 Like

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.

hi

here is my Firebase data structure

1 Like

hi

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

1 Like

Use something like this

image

Sorry it doesn’t work

1 Like

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

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

1 Like

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

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

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:

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

1 Like

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