Hi,
I’m new to the Thunkable community and I have a small question. I couldn’t find it here so I apologize if it’s something that has already been discussed and I couldn’t find it.
I would like to know if it is possible to feed a Data View with a Json. I have an application that will basically display a list of exam results and patient information and Data View would serve me well.
Thanks
drted
December 15, 2020, 7:41pm
2
There is no native way to do it, but here is an example to do it with cloned/created components
Hello Fellow Thunkers,
If you are like me, you use a JSON and the Firebase Realtime database. Unfortunately, none of the built in list controls accept JSON objects as datasources.
Therefore I built my own. This simple version does not drill down into the hierarchy (I’m still working on that version). But it does gracefully handle properties which are lists (it doesn’t display them) or objects (which it displays all text and numeric properties).
https://x.thunkable.com/copy/a14ce103c5779eb9662…
3 Likes
Thanks DrTed i will take a look.
jared
December 16, 2020, 2:34pm
4
Here is an example of what you are talking about
This seems to be a hot topic. I wont create a tutorial, but here is a working example. I made this a while back to deal with consuming a news API for a couple of guys I was working with.
It’s super straight forward!
Get your data from the api
bind the first objects data, with your hidden ‘master’ card.
clone that card into a visible column,
repeat the process for the next object returned by the API
https://x.thunkable.com/copy/63d7cb6fca6cd6028b35020cd1a0127b