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 / Error opening attachment
Power Apps
Unanswered

Error opening attachment

(0) ShareShare
ReportReport
Posted on by

Good Morning,
I made an application and it has a form where I attach files, the code to save the files works for me and I can attach files, but when I open it it throws an error and does not open the files.

Captura2.PNG
Captura1.PNG
Categories:
  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    Hi @CarlosN ,

    What is your data source (I assume it is not SharePoint)

  • CarlosN Profile Picture
    on at

    Yes, my data source is a Sharepoint list, it worked for me when I had a filter in the gallery with this code.

    Filter('Solicitudes Expres'; TextSearchBox1_1.Text in Cliente || TextSearchBox1_1.Text in Referencia || TextSearchBox1_1.Text in ID || TextSearchBox1_1.Text in Producto || TextSearchBox1_1.Text in Estatus)

    Then modify the code, because I added other filters, this is the current code in gallery currently.

    SortByColumns(Filter(AddColumns('Solicitudes Expres';"Buscar"; Cliente & Referencia & Producto & UsuarioEst & UsuarioVentas & ID);
     StartsWith(Estatus;FilterIng) && TextSearchBox1.Text in Buscar); "ID"; If(SortDescendingPI;Descending;Ascending))
  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @CarlosN ,

    I am a bit lost here - you post is about not being able to open an attachment from a form (which you have supplied a screenshot of) and you have supplied gallery filter code (which has nothing to do with the form or the attachment). The error you are getting refers to Azure Blob storage, but you have confirmed that the backend is SharePoint, which stores simply as a List attachment.

    As you saying clicking on an attachment item in the form does not open it?

     

  • CarlosN Profile Picture
    on at

    Surely I did not know how to explain. but I want to edit with form with what I select in a gallery and it does not show me the data.

  • CarlosN Profile Picture
    on at

    The form shows me the information of the records that are in the SharePoint database and when I try to open the files that are as attachments, I cannot download them.

    Captura3.PNG
  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @CarlosN ,

    That is not the attachment control you originally posted - it appears to be a gallery with URL's for the files.

    Where are these files and how did you put them there?

     

  • CarlosN Profile Picture
    on at

    The files are in the share point database.

    I put them using a edit form and with a button I save them using this code

    Patch(
     'Solicitudes Expres';
     {ID:GalSolicitudesIngenieria.Selected.ID};
     FrmPDatosAdjunto.Updates
    )

     

    updates files.PNG
    Attachment.PNG
  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @CarlosN ,

    So how is this form relevant to the issue?

    Captura3 (1).PNG

    Is this what you get in your download list?

  • CarlosN Profile Picture
    on at

    Yes sir, when I download the file it throws me that error and I cannot see the downloaded file.

  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @CarlosN ,

    Looks like there is something wrong with your SharePoint connection. Can you download them directly from SharePoint?

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
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard