web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Problem with objects w...
Power Apps
Unanswered

Problem with objects within arrays

(1) ShareShare
ReportReport
Posted on by 2

We’re seeing what appears to be a problem in the way the Flow editor handles input for objects within arrays. In the example below, there is an “Items” array, which contains a “Text” field, as well as a “Name” field with “First”, “Last”, “Middle” etc. properties.

bryancognito_2-1628697509946.png

 

When we reload the Flow, it looks like this:

 

bryancognito_1-1628697497569.png

 

It appears the data is sent in the format as it appears in the image, which does not work on the backend. The data should be formatted as:

 

Items: {
 Text: [Text],
 Name: {
 First: [First Name],
 Last: [Last Name]
 }
}

 

 

If I "fix" the format of the data in the Flow editor, it then works when tested. But the Flow editor can't make sense of it when its reloaded, and it reverts to the initial view, but without any field values for the name field.

 

Are objects within arrays not supported, or is it possible we're doing something in our connector that's causing this?

 

The schema for the input (the relevant portion at least) looks like this:

 

{
 "type": "object",
 "properties": {
 "Items": {
 "type": "array",
 "items": {
 "type": "object",
 "properties": {
 "Name": {
 "type": "object",
 "description": "Name",
 "x-ms-summary": "Name",
 "properties": {
 "First": {
 "type": "string",
 "description": "First",
 "x-ms-summary": "First"
 },
 "FirstAndLast": {
 "type": "string",
 "description": "First And Last",
 "x-ms-summary": "First And Last",
 "readOnly": true
 },
 "Last": {
 "type": "string",
 "description": "Last",
 "x-ms-summary": "Last"
 },
 "Middle": {
 "type": "string",
 "description": "Middle",
 "x-ms-summary": "Middle"
 },
 "MiddleInitial": {
 "type": "string",
 "description": "Middle Initial",
 "x-ms-summary": "Middle Initial"
 },
 "Prefix": {
 "type": "string",
 "description": "Prefix",
 "x-ms-summary": "Prefix"
 },
 "Suffix": {
 "type": "string",
 "description": "Suffix",
 "x-ms-summary": "Suffix"
 }
 }
 },
 "Textbox": {
 "type": "string",
 "description": "Textbox",
 "x-ms-summary": "Textbox"
 }
 "Id": {
 "type": "string",
 "description": "Id",
 "x-ms-summary": "Id"
 },
 "ItemNumber": {
 "type": "integer",
 "description": "Item Number",
 "x-ms-summary": "Item Number",
 "readOnly": true
 }
 }
 }
 }
 }
}

 

Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard