I am trying to display row information of particular text in column . Ex: Column Named Skills has Garden Cleaning, Dusting, Fan Cleaning, Balcony Cleaning and so on…
I want the row details of Dusting alone. If I have 2 entries for Dusting means then I should see only those 2 row details getting displayed in the listviewer.
The code you shared should not work. The green column block is actually a list. You will need to loop through this list and when you see the word “Dusting” then take the row number and use the RetRow block to view other info.
You used the list block contain which should return True or False which is not a row number.
Again, your are getting the row to read the value of column “Skills” which you already have from previous call of GetColumn block so why the extra steps.
If you do want to try using the API, I’m currently trying to set up filtering and multi-sorting of Airtable data. It seems to be working pretty well. Here, I’m filtering by a specific value in the Homeroom column and then sorting by Last Name then First Name in ascending (“asc”) order:
It’s very Interesting. Thank you for highlighting this feature. It worked too but not all.
Row creation is a cake walk.
But displaying the row as per the condition is right but not right because I guess some correction to be done in the coding.
Sharing the blocks.
Your filterByFormula field is correct. But the “records” property is a list of records. It’s not a list of text strings which is what the List Viewer’s text items requires. Once you get the records lists, you have to then parse it for specific properties such as Name, Age, etc.
The List Viewer expects a list not a single string. The variable app variable Name is not a list.
For extracting data from the Airtable, let me explain with an example.
I have this table
I want to show all the User IDs in a list using API, this is how you do it.
You already know how to get the rows using the API so I will show you how to extract records from the Response green block.
These are variables that I use in my code. One is a list and another to hold the response of the API.
Both would work but the other one requires that you connect to Airtable using the Data Sources method not the one you currently using (Airtable component).
When using the DVL (Data Viewer List), you do not need to created any blocks to display table content.
First add a DVL component to your screen and then in the DVL properties, choose which table to connect to and in the table which columns to show. With DVL you can show multiple columns not only a single column.
Yes you are right. I realized later after spending some time in designing, sharing the designs. But I really want to adjust as per my designs that’s when I faced these challenges.
Now, what I am trying to get is … After listing the Skills as per the conditions i.e Skills = Dusting then list the number of entries related to Dusting in the listviewer.
After selecting the items in the Listviewer, I have to see the all the details of that selection.
Example: Dusting has 2 entries D1 & D2 after listing (AirtableApi via filterbyFormula) those in listviewer then I select D1, I would like to see the correct entries related to D1 like Phone Number & Age.