Hi,
I am trying to get documents of SharePoint from Flow to Canvas App.
So I have created Flow, filtered Document Location, got the documents uploaded for the record in flow and passing that data to PowerApps using Response to PowerApps.
I am able to call flow from PowerApps but not able to access collection data which came from PowerApps.
This is the json
{
"type": "object",
"properties": {
"d": {
"type": "object",
"properties": {
"__metadata": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"uri": {
"type": "string"
},
"type": {
"type": "string"
}
}
},
"Files": {
"type": "object",
"properties": {
"__deferred": {
"type": "object",
"properties": {
"uri": {
"type": "string"
}
}
}
}
},
"ListItemAllFields": {
"type": "object",
"properties": {
"__deferred": {
"type": "object",
"properties": {
"uri": {
"type": "string"
}
}
}
}
},
"ParentFolder": {
"type": "object",
"properties": {
"__deferred": {
"type": "object",
"properties": {
"uri": {
"type": "string"
}
}
}
}
},
"Properties": {
"type": "object",
"properties": {
"__deferred": {
"type": "object",
"properties": {
"uri": {
"type": "string"
}
}
}
}
},
"StorageMetrics": {
"type": "object",
"properties": {
"__deferred": {
"type": "object",
"properties": {
"uri": {
"type": "string"
}
}
}
}
},
"Folders": {
"type": "object",
"properties": {
"__deferred": {
"type": "object",
"properties": {
"uri": {
"type": "string"
}
}
}
}
},
"Exists": {
"type": "boolean"
},
"IsWOPIEnabled": {
"type": "boolean"
},
"ItemCount": {
"type": "integer"
},
"Name": {
"type": "string"
},
"ProgID": {},
"ServerRelativeUrl": {
"type": "string"
},
"TimeCreated": {
"type": "string"
},
"TimeLastModified": {
"type": "string"
},
"UniqueId": {
"type": "string"
},
"WelcomePage": {
"type": "string"
}
}
}
}
}
I am collecting the response from Flow in PowerApp using this ClearCollect:
ClearCollect(AllDocuments, 'Retrievedocumentforeachrecord.'.Run(BrowseGalleryObjectives.Selected.Objective))
This is collection which I am getting.
Any help is appreciated.
Solved! Go to Solution.
The problem is solved, It is working after I deleted the flow connection.
Hi @tjalui ,
The response from a Flow is a pure Power Automate issue - you are welcome to post here, but I suggest you will get a quicker and more complete answer from experts over in the Power Automate Community.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
I get your point.
But flow is working correctly.
The collection in PowerApp is empty.
@tjalui ,
I will leave it for others to answer here, but the point I was making is that the return value to Power Apps is the Response from the Flow, so the specifications of that have to be correct for Power Apps to get the required data.
The problem is solved, It is working after I deleted the flow connection.
User | Count |
---|---|
212 | |
94 | |
85 | |
49 | |
38 |
User | Count |
---|---|
271 | |
103 | |
102 | |
59 | |
59 |