I have these buckets ( may have more in future ) in my database,
and all the buckets have same tags in it but different values.
I have to get all these buckets as an element in my dynamic listview and every element has 4 values of the tags of their respective buckets which I have to retrieve to show in the element of dynamic listview.
Please help me !
dora_paz
(Dora)
July 29, 2021, 6:39pm
#2
The easiest way if you have no authentication rules is to use Web component.
Set Web1.Url to
https://<PROJECTID>.firebaseio.com/.json?
and then when Web1.GotText get responce content in json format. Afterwards you can use dictionary blocks and create lists according to your needs
1 Like
Hey, I am very confused with this.
I haven’t used web component before.
Will you give me some info about it ?
I have many project buckets, from each of them I have to retrieve 4 values at once to my dynamic listview.
Can I have a screenshot of you database. Please!
It will help me a lot.
That is not mine… actually that dictionary blocks after the get keys are all tags
In the place of regions, water level… Use your tags like age dat of birth…
What is this “data” you are using here
and why you are using “sorted water level” even you are showing it in the listview.
dora_paz
(Dora)
July 31, 2021, 6:03pm
#10
Try this and see if it works for you
test_dynamic_firebase.aia (40.2 KB)
I got it , Thankyou very much
1 Like
How to Use with Security Rules and Firebase Authentication
dora_paz
(Dora)
July 31, 2021, 8:07pm
#13
This work only if you do not use security rules. Otherwise instead of using web component you have to use firebase blocks
2 Likes
How can I add a search view in this listview?
iamwsumit
(Sumit Kumar)
August 1, 2021, 7:32am
#15
Search on community. There are many guides about that. One of them is here.
So Welcome, Everyone today in this guide I will show how to Implement a search bar in your app with Simple & Dynamic Listview.
So Let’s Begin
1. Search Bar with simple List
• Design
Design The Search Bar According to Your Need Make two Arrangement
[image]
In search Arrangement there will be a textbox for input. Other things you can manage according to your need OR check my aia.
• Blocks
Variables
List from which user will search
[image]
Textbox to temporarily save input
[image]
The…
2 Likes
But I am using web component to get data from database to dynamic listview.
It has not any list created.
iamwsumit
(Sumit Kumar)
August 1, 2021, 7:39am
#17
suryapratapraj2001:
using web component
BTW, it doesn’t matter what you are using for fetching the data.
What do you mean by this? You have to create the list first and insert your data to them then you have to make search bar.
1 Like
I am not using a “Initialize global variable” block to create a list to show in the dynamic listview.
I am getting data from database directly to the dynamic listview
iamwsumit
(Sumit Kumar)
August 1, 2021, 7:43am
#19
Initialise the variable to create empty list
then when the data is fetched then insert the data to that variable in form of list by Set variable block. I hope you got it.
1 Like
dora_paz
(Dora)
August 1, 2021, 9:02am
#20
1 Like