I have a SharePoint document library where a few (<30) images are stored which will be used in a powerapp, for instance for icons.
For flexibility and performance I want to load these images in a collection at app start. And refer to them further on in the app using this collection. When other images are needed in the app only the image files need to be changed and not the app.
Although PowerApps does not give any errors or warnings this configuration does not work.
When I put a gallery on a screen where its items property = SP_DoclibrayName and an Image control in that gallery with its Image property = ThisItem.Thumbnail.Lage the image is displayed.
But when I change the items property of the gallery to a collection which is filled at app start with ClearCollect(colImages,FirstN( SP_DoclibrayName,10)) the images (or any other data) do not show up.
One thing: the language of the SharePoint site is Dutch. Therefore I cannot refer to ThisItem.Thumbnail.Lage but i have to use ThisItem.Miniatuur.Large
Any help would be much appreciated