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 / Embedded Canvas Apps f...
Power Apps
Answered

Embedded Canvas Apps for SharePoint Documents

(0) ShareShare
ReportReport
Posted on by 145

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.

community15_1.png

 

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.

 

community15_2.png

 

Any help is appreciated.

Categories:
  • WarrenBelz Profile Picture
    156,570 Most Valuable Professional on at

    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.

  • tjalui Profile Picture
    145 on at

    I get your point.

    But flow is working correctly.

    The collection in PowerApp is empty.

  • WarrenBelz Profile Picture
    156,570 Most Valuable Professional on at

    @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.

  • Verified answer
    tjalui Profile Picture
    145 on at

    The problem is solved,  It is working after I deleted the flow connection.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard