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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Make a collection from...
Power Apps
Unanswered

Make a collection from images on a SharePoint List

(0) ShareShare
ReportReport
Posted on by 142

Hi,

 

I have a gallery with 100 items from a sharepoint list. The list has an attatchment of an image of the item.

 

In the Gallery the image uses this code:

First(ThisItem.Attachments).Value

The code makes the app slow since I dont think PowerApps caches the image but loads it everytime, if i use a local image the gallery works flawless.

 

To fix the issue I guess i have to download the entire list with: 

ClearCollect(Lager_Local, Lager)

however it will not save the attatchments.

 

Is there a way I can download the images into a collection and make the image LookUp the local collection?

Or how should I approch this?

 

Thanks in advance - draax

 

 

 

 

Categories:
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @Draax ,

     

    I just tested with the same formula in image control inside gallery control and I cannot reproduce your issue. The images loads quickly. Have you made sure that you have taken the advantage of delegation in the Items property of Gallery control? Please share this formula and make sure that there is no delegation warning:

    Capture.JPG

     

    About delegation, please refer to documentation here:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/delegation-overview

     

    Regards,

    Mona

  • Draax Profile Picture
    142 on at

    Hello and thanks for your reply!

     

    The formula on the gallery im using are:

    Search(Filter(Artiklar,Avtal.Value = "Köp",EOL = false),TextInput_ItemSearch.Text,"Title")

     

    The SP list "Artiklar" does not contain more than 100 items.

     

    Draax

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard