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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / download attachment fr...
Power Apps
Unanswered

download attachment from powerapps form

(0) ShareShare
ReportReport
Posted on by 53
Hi 

I have a form where display mode is edit and inside i have a attachment data card, i need to download from there.
When in run mode it is not downloading it is showing error saying that couldn't download no file.
 
Items property of the data card is  
LookUp(cltRequest, ID = SelectedRequest.ID).Attachments
I have the same question (0)
  • Suggested answer
    MS.Ragavendar Profile Picture
    4,977 Super User 2025 Season 2 on at
     
    What is the Data Source which you are using.
     
    Sharepoint list item (attachment) as DataSource

    Download(ThisItem.Attachments.Value.AbsoluteURL); 
     
    Sharepoint Document Library as DataSource
     
     
    Dataverse (File Column) as DataSource
     
     
     
    🏷️ Please tag me @MS.Ragavendar if you still have any queries related to the solution or issue persists.
    Please click Accept as solution if my post helped you solve your issue and help others who will face the similar issue in future.
    ❤️ Please consider giving it a Like, If the approach was useful in other ways.
  • PR-25040755-0 Profile Picture
    53 on at
    Hi, i am using sharepoint as the datasource.
    Since the data card is in edit mode, Download(ThisItem.Attachments.Value.AbsoluteURL);  i can't use this, 

    There can be multiple attachments too
  • Suggested answer
    MS.Ragavendar Profile Picture
    4,977 Super User 2025 Season 2 on at
     

    Do you want to download multi pdf attachments?

    1). Add a Checkbox within the Gallery and set the OnCheck as below:

    Collect(colAttach,ThisItem.Attachments)

    Set OnUncheck as below:

    Remove(colAttach,ThisItem.Attachments)

    2). Add a button outside the Gallery and set the OnCheck as below:

    ForAll( 
     RenameColumns( colAttach,"Id","MyLink") , 
     Download("https://domain.sharepoint.com/sites/sitename" & Substitute( 
     MyLink,"%252f", "/"))
    )
     
     
    🏷️ Please tag me @MS.Ragavendar if you still have any queries related to the solution or issue persists.
    Please click Accept as solution if my post helped you solve your issue and help others who will face the similar issue in future.
    ❤️ Please consider giving it a Like, If the approach was useful in other ways.
  • PR-25040755-0 Profile Picture
    53 on at
    Hi,
     
    When The user clicks a particular file i want to download
  • MS.Ragavendar Profile Picture
    4,977 Super User 2025 Season 2 on at
     
    Form (Datacard Layout)
     
     
    View
     
    On Select : 
     
    Download(ThisItem.'Attachments')
  • MS.Ragavendar Profile Picture
    4,977 Super User 2025 Season 2 on at
     
    A quick follow-up to see, does the suggestion worked for you or still you were looking for any other approaches or assistance.
     
    🏷️ Please tag me @MS.Ragavendar if you still have any queries related to the solution or issue persists.
     Please click Accept as solution if my post helped you solve your issue and help others who will face the similar issue in future.
    ❤️ Please consider giving it a Like, If the approach was useful in other ways.
  • PR-25040755-0 Profile Picture
    53 on at
    Hi,
     
    In 1 powerapps they are asking if it can be downloaded through form View itself
    But otherwise it is fine

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard