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

Community site session details

Session Id : fms3UPqls3Id3DfK666fMD
Power Automate - General Discussion
Unanswered

Display list of images from Onedrive folder in Gallery

Like (0) ShareShare
ReportReport
Posted on 3 Jul 2019 18:55:58 by

I have a flow, which return the list of all the image file name in a folder.  But i dont know how to use that list to display the images in gallery. would appreciate if anyone explain how do i use that list to display the images in the gallery. Thank you.

filenames.PNGwhat.PNG

I have the same question (0)
  • yashag2255 Profile Picture
    24,695 Super User 2024 Season 1 on 18 Jul 2019 at 06:33:23
    Re: Display list of images from Onedrive folder in Gallery

    Hi @Anonymous 

     

    For displaying the images stored in onedrive, you need to make few modifications where the image thumbnail is returned with Image Name. While calling the flow from PowerApps, you can collect the response in a collection and then same collection can be used to display images in gallery.
    MicrosoftTeams-image (183).png

     

    MicrosoftTeams-image (184).png
    Note: Adding JSON Body Schema in Response is mandatory to show the results in PowerApps.
     
    Expression used to button to trigger this flow.
     
    ClearCollect(ImageCollection,'PowerApps->Initializevariable,Compose'.Run())
     
    Gallery:
    Items: ImageCollection
    Image Icon inside: ThisItem.Content
    MicrosoftTeams-image (182).png

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    on 07 Jul 2019 at 19:23:36
    Re: Display list of images from Onedrive folder in Gallery

    You would not be able to connect to onedrive folder in powerapps, however, you can connect to an excel sheet table in onedrive and manage your image path as follows:

     

     

    PhotoIdPhoto[image]
    1./data_images/1-100.jpg
    2./data_images/1-101.jpg
    3./data_images/1-102.jpg
    4./data_images/1-103.jpg
    5./data_images/1-104.jpg
    6./data_images/2-100.jpg
    7./data_images/2-101.jpg
     

     Please note the image path column should be as given above to access the images (considering your images are in data_images folder in one drive)

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 725 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 363 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 341

Last 30 days Overall leaderboard
Loading complete