Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

GroupBy Image URL in Powerapps

(1) ShareShare
ReportReport
Posted on by 494

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:
  • poweractivate Profile Picture
    11,078 Most Valuable Professional on at
    Re: GroupBy Image URL in Powerapps

    @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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,645 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard