cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kruthika
Frequent Visitor

Attahements from sharepoint list

Hi, 
I want to add  a button to download the attachement which is in the sharepoint list. Currently, I am getting the data from the sharepoint source and when I click on it its downloading. i want to add a new gallery and on click of it , i want to download the attachment, 
Any work around to do this ?
Below is the actual view of the attachments look with sharepoint list as a data source

Kruthika_0-1617966042308.png

 



1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi @Kruthika,

Based on the issue that you mentioned, do you want to download the attachments from the SP list?

Could you please share a bit more about the scenario?

If you want to download multiple attachments at a time within the Gallery, I am afraid that there is no way to achieve this within PowerApps currently.

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

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

As an alternative solution, I think you could download the attachments one by one.

1. add an file icon in the gallery

2. set it Visible property: 

ThisItem.'Has attachments' 

3. set it OnSelect property: 

Launch(First(ThisItem.Attachments).AbsoluteUri)

Note that if you have multiple attachments, you should modify your formula as you want.

Regards,

Qi

Best Regards,
Qi

View solution in original post

2 REPLIES 2
Annabelle
Frequent Visitor

Here is a post from a community member that may help you achieve what you are looking for 

https://powerusers.microsoft.com/t5/Webinars-and-Video-Gallery/Display-SharePoint-List-Attachments-i... 

v-qiaqi-msft
Community Support
Community Support

Hi @Kruthika,

Based on the issue that you mentioned, do you want to download the attachments from the SP list?

Could you please share a bit more about the scenario?

If you want to download multiple attachments at a time within the Gallery, I am afraid that there is no way to achieve this within PowerApps currently.

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

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

As an alternative solution, I think you could download the attachments one by one.

1. add an file icon in the gallery

2. set it Visible property: 

ThisItem.'Has attachments' 

3. set it OnSelect property: 

Launch(First(ThisItem.Attachments).AbsoluteUri)

Note that if you have multiple attachments, you should modify your formula as you want.

Regards,

Qi

Best Regards,
Qi

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,939)