I am trying to write a PowerApps app to call a custom connector to return data. I have the custom connector that calls the API and I can see that when I hit the [Test] button that the data is returned. However, when I go into my App, all I get from the connector is a boolean called Value;
[Button On Select Code]
ClearCollect(catsTable,NestJS.GetAllCats())
If I inspect the return value from NextJS.GetAllCats() PowerApps thinks that the return type is Boolean and not a table.
[Label Text Property Code]
First(catsTable).Value
So in the above, I cannot seem to get the name, age or colour properties from catsTable, only the property Value.
JSON Returned from the Custom Connecter Test
[
{ "name": "Tuffy", "age": 10, "colour": "red" }, { "name": "Tuffy", "age": 10, "colour": "red" }, { "name": "Tuffy", "age": 10, "colour": "red" } ]