How to Get data from Airtable and put it into a CardView

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:

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

We complete the airtable component with the Apikey and Baseid and table name.

We create a variable for each column of airtable data:

We create a variable called “counter” that will allow us to obtain the different columns

Now we initialize the screen to obtain the data of the first column. To the variable “counter” we assign the value 1 (we get the first column)

imagen

We look for the component Spreadsheet and use the event “Got column”:

And we use it to get the data from the columns:

We assign “values” to every variable for each column.

As you can see in the image, we assign a value to the variable “counter” and then we obtain a column. Then we check that if the counter has that value, we save the data of that column in a variable. And for each column we do the same.

The end result would be something like this:

Note

When you apply a certain criterion to sort the data in the airtable table, the cardview cards are sorted in the same way.

That is all.

I wanted to update this guide to optimize the process and to use only one spreadsheet component.

Updated!
Here the aia file. The Airtable table is for testing purposes only.

HowToGetAirtableData.aia (173.4 KB)

22 Likes

great tutorial !

Is there any way to use Asynchronous image loader with that extension? I tried it with Image Utilities without any success

2 Likes

Fine…Once again.
You should post in English.

1 Like

I published in English, but sometimes it happens that before I gave “Send” what I wrote was translated

2 Likes

May be you are using a translator.

1 Like

Of course, I’m Uruguayan (Spanish speaker)

2 Likes

That is why it translates all text in Spanish.

1 Like

And that’s why you have no reason to tell me the same thing every time

Thanks

2 Likes

I think this topic is hijacked.:grin:

1 Like

Is there any way that if a new data store in airtable then it can also be seen in realtime in app also

1 Like

this is not working for me, i followed the steps but still card view isnt loading them

here are my blocks please check if am doing wrong

1 Like

If you will clear lists without adding them to final list then how can they work

1 Like

Can you explain a little bit more please what changes i have to make

1 Like

First try to load columns one by one in a listview or label and see if it works or not.

2 Likes

Blocks are okay ??

1 Like

thanks for help, there was a minor error in blocks, cards are loading now

1 Like

Congrats for your problem…
But it will be nice if you share that solution here.

1 Like

I was calling SUBTITLE 2 times and CONTENT was not loaded, thats why card weren’t loading,

I again checked blocks then i found this error

3 Likes

Try to check every airtable component for every column. You have two that get the same value… In Title_Sheet you get the column Subtitle_Sheet, and in subtitle_sheet you use again the subtitle_sheet…
Check that…

2 Likes