Frederic
(Frédéric)
November 8, 2021, 11:36pm
#1
Bonjour à toutes et tous,
J’ai 10 lignes de 3 colonnes dans airtable (toutes les cellules sont remplies.)
Je souhaite afficher dans une appli les 10 lignes.
J’ai initialisé une liste vide
Puis j’appelle à l’ouverture de la screen à aller chercher toutes les lignes
Et enfin je demande à ce que toutes les lignes s’affichent dans une vue liste
Et cela ne fonctionne pas !
Pouvez-vous me dire ou cela ne va pas ?
Merci.
The official community language is English. Please respect the rules and translate your post.
Taifun
November 9, 2021, 2:08am
#3
total rows is the number of rows to receive… this is probably not what you expect to receive…
see also the documentation
Taifun
Frederic
(Frédéric)
November 9, 2021, 7:52am
#4
@deanart2012
hello,
Sorry I did not see in the rules that it was absolutely necessary to post in English.
Thank you.
Frederic
(Frédéric)
November 9, 2021, 7:55am
#5
@Taifun
Bonjour,
Oui j’avais déjà regardé la documentation du tableur.
Mais après réflexion, je pense que le problème est qu’une seule vue liste ne peut pas afficher 3 colonnes.
Je vais chercher autrement.
Merci.
dora_paz
(Dora)
November 9, 2021, 8:06am
#6
Please follow community rules, use English
dora_paz
(Dora)
November 9, 2021, 8:07am
#7
When got all rows the response is in json format and the you have to use dictionary blocks to get the data you want. See an example
That kind of error is obtained when you try to get data from a Json and the logic you use to extract the data does not match with the structure of the json
Here is an example of how you can get data from Airtable using the GetAllRows block (with this block you get a Json in the response content) using dictionaries
Note: In airtable it is easier to get each column and then work with those data as lists
This is my Airtable structure:
[imagen]
We create the variables for each airtable column.…
Frederic
(Frédéric)
November 9, 2021, 8:26am
#8
Bonjour @dora_paz
Thanks for your help.
Sorry for the posts in French, I did not see in the community rules that it was necessary to post in English.
As for my problem, I will take inspiration from the example you posted to me.
I get back to you as soon as tested.
1 Like
Frederic
(Frédéric)
November 9, 2021, 9:20am
#9
@dora_paz
I tried to do with the example you gave me.
Here is my table and my blocks :
Merci.
Are your sure your airtable cells no empty cells?
dora_paz
(Dora)
November 9, 2021, 9:37am
#14
Post a sample aia here if you wish
Frederic
(Frédéric)
November 9, 2021, 9:47am
#15
@dora_paz
thank you.
The project is not finished.
For the moment, I just want to display the rows of my tables in the list view of screen 1
Eleve_ton_enfant (1).aia (1.1 MB)
I have also modified my table to show only what is necessary.
dora_paz
(Dora)
November 9, 2021, 9:57am
#16
2 Likes
Frederic
(Frédéric)
November 9, 2021, 10:02am
#17
@dora_paz
Actually it works.
thank you, I’m going well with you.
I put the code if it can be useful to others.
1 Like
dora_paz
(Dora)
November 9, 2021, 10:03am
#18
If problem solved mark solution in order to help others
system
(system)
Closed
December 9, 2021, 10:03am
#19
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.