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 / Sorting on SharePoint ...
Power Apps
Unanswered

Sorting on SharePoint List attachments doesn't work anymore

(1) ShareShare
ReportReport
Posted on by 281

I have a PowerApp form for my SharePoint list that also contains attachments. I set the Attachments control to sort in a descending order, but when I click the attachment to open it, I get a  'BlobNotFound' error in Chrome and a 'Couldn't download the file' error in Internet Explorer.

blobnotfound.pngcouldntdownloadthefile.png

 

When I create a new PowerApp form, the default Attachments control lets me download attachments, but immediately after I apply the Sort() on the Items property, the 'BlobNotFound' error appears again. 

 

Sort(
 ThisItem.'{Attachments}',
 DisplayName,
 Descending
)

This has worked before flawelessly, so why doesn't it work anymore?

Categories:
I have the same question (0)
  • rebeccas Profile Picture
    2,591 on at

    I'm not sure what your doing to pull in the Attachments exactly but typically when I have a gallery with the attachments the item was first selected from another gallery and so that is there instead of the ThisItem you have.

     

    So, Gallery 1 is tied to the SPList and has some details of some sort and then when they click on one Gallery 2 shows with the attacments.

     

    My Items for Gallery 2 is =Sort(Gallery1.Selected.'{Attachments}', DisplayName, Descending)

     

    Mine sorts fine and pulls in the data fine, allows you to download and everything else. Maybe try that.

  • rikdekoning Profile Picture
    281 on at

    I'm just using a simple form (using the Customize Forms option in SharePoint). I don't use a Gallery.

    The solution I used worked 2 weeks ago, but now, all of a sudden it doesn't anymore even though I haven't made any changes to that specific Form...

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard