How to get multi tag values from firebase

Hello everyone,
I need help in blocks I want to make a list of user details. I am using Firebase to store data.

Here is my database structure

fb

what can be the logic for this please help.

Thanks

Fistly, it is recomemded to looking fornin the community. There is various post about this item.

You could to read this post by @dora_paz

Hello there,
I didn’t find any topic related to my logic or problem, that’s why I created.
Shared topic has only one value stored in a tag but in my DB I stored more than 2 values in a tag.
So, if you are able to help please let me know.

Regards

Someone should make a tutorial on how to search the community
Friend, use logical reasoning…
Ask yourself: in what format do I save the Tag data?
and then you will know how to handle the GET return.

Apparently you haven’t tried anything yet

I store data manually in firebase.
I tried many time to fetch data but everytime error occurs.
Please help me in block and
Please tell how to ask questions or create a topic.

Regards

post your error and blocks you tried along with your query

set the project bucket
block

Got all tag successfully
In Label4 I stored length of the list.
blocks

For testing I store all tags in a list
block

Getting all tag values

Now I got all the values and tags successfully and I store the values in a list
blocks(4)

The result is this

Now In procedure3 I want to store values separately in multiple labels. For example I have 3 details (0001,19-08-23,exit) I want to use there three value separately. I tried to store data in list view but data duplicate issue occur. what I tried recently

Regards

Thanks Gaston
but this shows an error

“Select list item: Attempt to get item number 2 of a list of length 1”

Blocks

I don’t why this error occurred.
“Attempt to invoke virtual method ‘java.lang.Class java.lang.Object.getClass()’ on a null object reference”

Regards

If you want, send me the aia file and I’ll fix it.

okay

test.aia (7.3 KB)

there is total two error
first- “Select list item: Attempt to get item number 2 of a list of length 1”

second- “Attempt to invoke virtual method ‘java.lang.Class java.lang.Object.getClass()’ on a null object reference”

for each GET VALUE, a GOT VALUE is executed.
the problem is that the indicated blocks are executed repeatedly before getting all the data, for example “Procedure3”

image

Note that if you remove what is indicated and then execute it manually or from a button, there is no error

image

Thank you! @Gaston
I am marking your reply as solution as logic is working fine.
Thank you once again.

1 Like

Getting error while showing DATA in Dynamic Label

Blocks

I try to use different clock but no effect on data.

The problem is when I use to loops data get overwrite/same data come please check if you get any error or solution for this.

Regards

Show your data structure and also show the output expecting format

Thank you @Still-learning for replying
I make some change I used a label instead of two loops and its work fine now I am sending the working block.

Working fine.

I have One question sending you in PM (private message).

Regards

1 Like

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