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 Apps / GroupBy Image URL in P...
Power Apps
Unanswered

GroupBy Image URL in Powerapps

(1) ShareShare
ReportReport
Posted on by 531

I have a SharePoint list which stores the MessageID and the ImageURL column. For some of the ID's, there will be multiple images, which needs to be rendered as a slideshow in Powerapps screen. 

 

Iantaylor2050_0-1671509695199.png

 

For rendering multiple images as a slideshow, I am referring below URL https://www.c-sharpcorner.com/article/how-to-create-an-infinite-scrolling-image-carousel-in-powerapps/#:~:text=How%20To%20Create%20An%20Infinite%20Scrolling%20Image%20Carousel,image%20based%20on%20indicator%20click%20...%20More%20items

 

I tried to point it to my SharePoint list, but it doesnt work. Any inputs would be helpful. 

Categories:
I have the same question (0)
  • poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @Iantaylor2050 

     

    Here's my example with nested gallery, to have 2 images showing for MessageID 1234 and 1 image showing for MessageID 5678 below:

    poweractivate_1-1671517943846.png

     

     

    Screen OnVisible:

    ClearCollect(MsgIdAndImgUrlColl,{MessageID:1234,ImageURL:"https://learn.microsoft.com/en-us/windows/apps/design/style/images/icons/header-icons.png"},{MessageID:1234,ImageURL:"https://learn.microsoft.com/en-us/windows/apps/design/style/images/icons/inside-icons.png"},{MessageID:5678,ImageURL:"https://learn.microsoft.com/en-us/windows/apps/design/style/images/icons/outside-icons.jpg"})

    (when all formulas are built, including above and the ones below, then to test, create a blank screen and then click that screen and then click back to the screen with the above formula on it to initialize the collection).

     

    Gallery2 (outer Gallery) Items 

    GroupBy(MsgIdAndImgUrlColl,"MessageID","MyMsgId")

     

    Title3 (Text control in outer Gallery) Text

    ThisItem.MessageID

     

    Gallery4 (Inner Gallery) Items

    ThisItem.MyMsgId

     

    Image6 (Image control in inner Gallery) Image 

    ThisItem.ImageURL

     

    See if this helps as starting point @Iantaylor2050 

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard