Wins
(Saini)
November 26, 2021, 4:16am
#1
Hello,
I need your help if you do then I will be happy!
I want to get data from database (either from firebase or airtable) and store in selected Labels in app (shown in fig. below)
I want to get data from database and store at the place of SXP, 110%, 15days, 0.0001SXP (in figure) respectively.
can you please share blocks or any easy tutorial for this.
Thanks & Regards
Wins
What did you tried?
Have you searched the Community?
There are plenty of easy Firebase guides.
Hi, Koders!
I observed that there were many queries on Firebase Database even me ! but eventually after trials and errors I solved the problem I had posted a solution to a Koder who had the same issue but I thought to make a more comprehensive guide on Firebase for begginers.
So lets get started!
Lets understand the blocks
The below warning is because there is no blocks associated with it.
[Firebase Database Data Changed]
This is an event triggered when the data changes in firebase, for e…
Wins
(Saini)
November 27, 2021, 3:49am
#3
This was good but try to understand my question again,
I want to get particular value from database and store that in selected label and same do again for about 5 times.
Example:
please refer me blocks if you can because it is very difficult for me .
So you can call get cell or call get column
And use switch
Call get cell column name= coin row no=1
And use if then
And switch to 1
then if switch = 1
Then store coin in variable
And again get cell column name = interest row no.= 1
Switch to 2
And so on you can use your logic
Note:- if you get your answer from my post then set my post as a solution.
1 Like
This is possible just with dynamic component extension and spreadsheet combi alone.
Dynamic Components Extension
that supports every component in your AI2 distribution, instead of having pre-defined components.
I thought about making a full method to create all dynamic components without creating different blocks for every component because it would be useless. So I was trying to find a proper solution for a long time. And here it is!
The minimum required API version for this extension is 1 .
It basically uses Java’s Reflection feature, so this allows you to create…
Wins
(Saini)
November 27, 2021, 7:23pm
#6
Can you please send me blocks image for it, I’ll heartily thankful to you.
tags removed by Mod
Please reply back
Wins
dora_paz
(Dora)
November 27, 2021, 7:36pm
#7
Please do not tag users to get attension
dora_paz
(Dora)
November 27, 2021, 7:38pm
#8
Study this if you are using airtable
Updated!
Optimized. Now we get all the data with only one Spreadsheet component.
As the title says, the idea is to load Airtable data into the Cardview extension.
Something like this:
[ezgif-7-41c9ded3342d]
To do this we will use the following extension:
Once installed the extension we add in the designer all the components we need:
VerticalScrollArrangement
Spreadsheet
Cardview
[imagen]
We complete the airtable component with the Apikey and Baseid and table name.
[imagen]
We cr…
You have used dynamic component extension or not because with dynamic component extension it will be more easier.
dora_paz
(Dora)
November 28, 2021, 9:06am
#10
Try this
test_airtable_1.aia (42.1 KB)
Wins
(Saini)
November 30, 2021, 3:32pm
#11
Hey Doar,
Thank You So much,
where can i get DynamicComponets1 extension?? that is used in aia file
(please provide download link )
Wins
Thanks again!
1 Like
Wins
(Saini)
November 30, 2021, 4:08pm
#13
Dora,
then how to perform onclick action on stake button in dynamic component??
Wins
(Saini)
December 16, 2021, 10:40am
#14
How to show this from firebase database (see below image)
please help me!!!
Set firebase bucket as Stac…
Get firebase value tag Wins saini
When firebase get value ,
Set any label text to Select list item list ( web1 convert json to list -get value ) index 3
1 Like
Wins
(Saini)
December 16, 2021, 11:07am
#16
Thanks for instant reply GSR,
Ques: How can i do (web1 concert json to list -get value) index 3
Please show me as simple as possible
Please reply back
dora_paz
(Dora)
December 16, 2021, 11:16am
#17
I believe you do not need it. Simply
1 Like
Wins
(Saini)
January 9, 2022, 3:51pm
#19
Dear, @Tips_and_Tricks_Generator can you please share a detailed blocks (image) or aia file of it ??
Please reply!
system
(system)
Closed
February 8, 2022, 3:51pm
#20
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.