Hello Koders,
I wanted to know how to check and get the project bucket name containing some specific tag and its value, via firebase realtime database.
Let’s say there are two project bucket’s as follows;
-projectbucket1
name : simar
number: 12345
-projectbucket2
name : mala
number: 56789
How to do this?
Now, user have options to enter name and number.
When btn.click than get the the projectbucket name which contains tag(name=mala) & tag(number=56789)
Blocks solution would be really appreciated.
Thanks in Advance,
dora_paz
(Dora)
December 25, 2021, 8:29am
#2
If you have no authentication rules then you could use Web component. Set Web1.Url to
https://<PROJECTID>.firebaseio.com/.json
and then when Web1.GotText use dictionary blocks to get data
1 Like
dora_paz
(Dora)
December 25, 2021, 8:32am
#3
Also it is very helpful to use search in community
Hello, Sumit here. I am publishing a guide again on Getting data from firebase from multiple project bucket and multiple tags in them. It’s very easy to do that. I will show you 2 smarter ways to fetch them. And after getting the data I will show you inserting them in list view.
So Let’s start without wasting any time.
Considering Firebase
I am creating a new firebase real-time database for showing you in this guide.
So I have inserted some data to it. So our data looks something like
Scre…
Why URGENT?
Your case possible to attain with web component method only…
try like this
I have stored all the details under the bucket of Users, so i set url as
https://(myproject.firebaseio.com/Users/.json)
you too try like this
Thanks for it, did you created multi lvl project bucket? how to do that dynamically?
current project buckets
which one you are asking?
how to create like this?
create project bucket in (projectbucket)users?
Dream_Dev_Infotech:
(projectbucket)users?
just by using / will do that..
thanks, so good. I will try it asap.