I am just getting started with Thunkable, and am having trouble finding some tutorials on a blocker I have. I am pull data from an Airtable spreadsheet. As my first few steps I am trying to figure out how to search the rows and only display specific row. The second step will be then to display only data from specific fields on the row.
I can get to the point where I can see the JSON output!
This worked great, thank you. Now I am needing to figure out how do I display the JSON data properly - remove the { and ". I can’t quite find a tutorial that walks through that well.
parsing JSON can be difficult at first. both @actech and @darren have public projects on here to demonstrate that. @darren has at least 1 video on youtube about this also!
Is there a reason you need to parse the JSON data? When I use Airtable, I stick to the Spreadsheet blocks and I’m able to extract the information I need. Then again, my cell values are pretty straightforward: name, photo, etc.
That’s a good point. Now that I have a better idea for how to find a specific cell I need, that may be the route I go as they are fairly straightforward as well. I tried following a few tutorials, but all I can find are ones for the Web API where the data is already in JSON, so the block of “get object from JSON” is used. From my understanding, data from the spreadsheet is already in object. So I then go through loop as documented as I extract the property from the object, but can’t get any output.
I’ll shift gears to your suggestion and see if just using the specific cell will accomplish what I am after.
Yep, I would avoid using JSON for Spreadsheet data. You should be able to read everything you need using the spreadsheet commands in Thunkable X.
The only downside of using spreadsheet blocks is that they are somewhat slow. Each call to Airtable takes some time so if you are doing a ton of calls, you may notice the delay.
I misread the post. I thought this was in reference to firebase data. I’ve been working with that all day and i must’ve gotten confused.
You’re right though. When I am app testing my data submission app, i will notice some slowdown when I am frequently submitting and resubmitting back to back. (which is why i want to learn how to work with firebase)