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???
I get this list from Firebase.
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…
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…
for example in this case i try and get the property of address.
with these button. Why is it it dont work. What is it i do wrong.
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: