Hi,
I’m trying to create the FlutterMET demo app in Adalo and have come across the following issue.
The app uses the APIs described here:
-
I successfully display a list of museum departments using the relevant API call to create a Departments external collection
-
After tapping on a museum department I want to display in a list in a new page with the art items that are in the selected museum department together with a photo of each item but have come up against the following 2 issues
a. the call to list the items in a particular departmentID returns a result that doesn’t have a field name for each objectID (I guess it’s a kind of array) so there is no field name to reference in the new External Collection
https://collectionapi.metmuseum.org/public/collection/v1/search?q=&departmentId=6
{“total”:27,“objectIDs”:[49006,53456,36131,40057,53439,39936,78670,49147,39901,36024,39668,53719,41483,36090,40454,48950,39931,51528,44759,40509,45652,39895,40105,40512,39569,39920,40511]}
b. even if the returned objectIDs list was returned properly I now need to make a query for each item returned in (a) in order to display the name and photo of the items in a list
So in a nutshell: is there a way to display in a list in Adalo the name and photo of items belonging to a particular departmentId?
Thanks!