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.
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.
Here's my example with nested gallery, to have 2 images showing for MessageID 1234 and 1 image showing for MessageID 5678 below:
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
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional