Clean json text with the get property of object blocks?

I get this list from Firebase.


I like to get the handle and the Adress out of al 88 customers.
Can I use these blocks to make it more simpel or how can I do this in the most simple way?
This blocks DONT work???

1 Like

I’m a little confused, in the then do block, you refer to a variable bestof. What does it contain?

If you are referring to it as the main key of your database then you need to refer to bestofDB

However, I would advise to use the cloud variable all the way instead of using the Get block of RTDB then you can refer to any object in the database by using indirect cloud variables.

yes but with over 100 lines it takes longer than just getting it one time.
And the blocks dont work either that is just my way to try it…

1 Like

Another thing,

Are you using the indirect variable naming for a specific reason?

This is what I mean.

Muneer thanks for your feet back.
No it was just so I dont need to go out in firebase for each item. There is a lot lines to get.
Now I got these blocks and they dont work either, I am just trying something so dont mind how my blocks are looking. That is what I am asking for help to solve.I just cant find the docs to place the right blocks for doing this.

Aaarrh I se now I dont have to make that Variable. I just thourgt it was the same as if i used the cloud variable everytime…

1 Like

for example in this case i try and get the property of address.

image

with these button. Why is it it dont work. What is it i do wrong.
image

You are converting the Firebase value to JSON and then trying to take the property of an object from it. That won’t work because the “get property of object” block is expecting an object as input.

But there’s an easier way to do this because a cloud variable can be used instead of the Realtime_DB block:

You can also use cloud variables to set the value of Firebase fields:

yes thanks. But I am aware of that. But it just takes a long time to get all the customers in that way. That is why I like to get all the database and then sort it after importing. Do you know what I mean?
This work fine but to slow…