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 / Show Attachments in a ...
Power Apps
Answered

Show Attachments in a gallery

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi everyone,

 

I've a question, how can i put attachments in a gallery. I don't want to update an attached, just see and download, as a single link, the data of the attached.

 

For example.

 

Captura.PNG

There is a column with the name, attachemnts. I just want to see the name of the attached were is update in mi SP list.

 

Is it possible?

 

I'm going to waiting for your comments.

 

Best regards.

Categories:
I have the same question (0)
  • ganeshsanap Profile Picture
    1,555 on at

    @Anonymous , Will there be only one attachment to list item or multiple attachments?

     

    For only one attachment:

    Add a button in your gallery and use below formula on OnSelect:

     

    Launch(First(ThisItem.Attachments).AbsoluteUri)

     

     

    For multiple attachments per list item:

    • Add a new gallery within your existing gallery and associate its Items property with ThisItem.Attachments
    • Within this new gallery you can use  ThisItem.DisplayName and other properties to show data
    • To download an attachment add a button within this new gallery and use Launch(ThisItem.AbsoluteUri)

    ReferenceShowing attachments from a Sharepoint List 


    Please click Accept as solution if my post helped you solve your issue. This will help others find the correct solution easily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @ganeshsanap,

     

    Thank you for your soon reply. When i tried to put "ThisItem.Attachments" (in spanish will be "ThisItem.Datos Adjunto") it doesn't exist, and in my SP list i have the column "Attachments" - "Datos Adjuntos" with data.

     

    Captura.PNG

    I'm going to wiating for your coments.

     

    Best regards.

     

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @ganeshsanap;

    I made a huge mistake, it wors, the problem, my gallery work with a collection that is connected with my SP list, the think is, i dont understand why it doesn't collect my attachments.

     

    ClearCollect(ColecciónNPNF; AddColumns('NPNF prueba'; "Seleccionado"; false));;Refresh('NPNF prueba')

    That it's my collection.

     

    Search(
     Filter(
     ColecciónNPNF;
     If(Dropdown3.Selected.Value = "-Seleccionar-";
     true;
     Resultado = Dropdown3.Selected.Value);
     If(Dropdown3_3.Selected.Value = "-Seleccionar-";
     true;
     Estado = Dropdown3_3.Selected.Value)
     );
     Searchbox.Text;
     "Title";
     "Responsable";
     "Responsable2"
    )

    This is my gallery code.

     

    Do you knowe how can i collect attachments in my collection.

     

    Best regards

  • ganeshsanap Profile Picture
    1,555 on at

    @Anonymous , As per below link (which is very old), there is no way to pull the SP List attachments into a collection. Currently, we could only access the SP List item attachments within the Attachments control of a Edit form.

     

    Can Collections have Attachments 

     

    Also, check this video if it helps you: https://www.youtube.com/watch?v=Ds9yJZD6PVU 


    Please click Accept as solution if my post helped you solve your issue. This will help others find the correct solution easily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Do you want to collect the Attachments from your SP List into a collection?

     

    Actually, it is a known issue within PowerApps app -- when collecting SP List records into a collection, it would not collect the Attachments column value from SP List.

     

    Currently, If you want to collect the Attachments column value from your SP List into a collection, I afraid that there is no way to achieve your needs.

     

    If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

     

    As an alternative solution, you could consider add an nested Gallery inside your current existing Gallery, then set the Items property of the nested Gallery to following:

    LookUp('Your SP List', ID = ThisItem.ID).Attachments

    Set the Text property of the Label inside the nested Gallery to following:

    ThisItem.DisplayName

    8.JPG

     

    If you want to download corresponding Attachment file from the nested Gallery, you could consider add a "Download" icon inside the nested Gallery, set the OnSelect property to following:

    Download(ThisItem.AbsoluteUri)

    9.JPG

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    hi @v-xida-msft ,

     

    Thank you for your soon reply, I resolved my problem, but could be a great idea to add in collections attachments.

     

    Best regards.

     

    Diego F.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard