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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Display list of images...
Power Automate
Unanswered

Display list of images from Onedrive folder in Gallery

(0) ShareShare
ReportReport
Posted on 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

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at

    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)

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    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!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard