Has there been any update to how Adalo handles array/lists in responses?

Is there any good way to handle arrays in API responses? Its still displaying only the first item in the array. In some ways, this is rudimentary processing that’s required for building an app.

Continuing the discussion from External collection only stores first data for each array:

2 Likes

I am also hopping for some improvements with custom actions.
But they have made possible to call an external collection with magic text in the headers/parameters. External collections brings all the data inside your array if you set the key (but only supports 2 levels.)

In the example below, I am not able to display the array of Feedback along with the Title on a screen. I would like some help with that.

{
  "success": true,
  "data": [
    {
      "_id": "f394f2a2c71219ee886436a6",
      "title": "He den.",
      "feedback": [
        {
          "review": "Heb baku.",
          "rating": {
            "_id": "605cd386910b100026021dd3",
            "label": "4",
            "value": "4"
          }
        },
        {
          "review": "Ridta nuko.",
          "rating": {
            "_id": "605cd386910b100026021dd0",
            "label": "1",
            "value": "1"
          }
        }
      ],
      "frontCover": {
        "url": "http://sitode.ht/epdutmu.png",
        "name": "wodawosil.png"
      },
      "author": {
        "_id": "adeaf2fec589ed96b63a5e23",
        "name": "Kuzma mig.",
        "createdAt": "2060-09-22T22:26:18.019Z",
        "updatedAt": "2076-01-28T12:05:20.627Z"
      }
    }
  ]
}

Try to add this response like external database

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.