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 / Including attachments ...
Power Apps
Unanswered

Including attachments as part of version history on a Power Apps customized list form

(0) ShareShare
ReportReport
Posted on by 383
I built a SharePoint customized form with Power Apps, and up until now users have been using the attachments control from the SP list to upload documents. The issue we've discovered is that list attachments are not tracked as part of version history. For example, lets say version 2.0 of a list item had 1 attachment at the time, and on version 5.0 they uploaded more attachments for a total of 3 attachments. If the user then decides to go back to version 2.0 of the list item, it will still have 3 attachments instead of the 1 attachment like version 2.0 originally had.
 
My initial thought was instead of using the list attachment control for the form, I instead map that control to a separate document library. However, this doesn't solve my versioning dilemma. Essentially how can I sync up the SP list item and the document library folder for that item, so that when the list item is restored to a prior version it also sets the doc library back to the same matching version?
 
I'm open to any suggestions, just hoping someone else has already solved this scenario because I haven't been able to find anything so far in my research.
Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    152,853 Most Valuable Professional on at
    Hi @TrayH​​​​​​​
    SharePoint keeps a record of the attachment names at the version point of time and if they still exist, a link to open them. However if an attachment is deleted, the file is also deleted from the Library (if you look at the AbsoluteUri you will see that they are kept in one), so will not be available.
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    Buy me a coffee
  • TrayH Profile Picture
    383 on at
    Hi @WarrenBelz - That's interesting. You're saying list attachments are actually being stored in a hidden library outside of the list? How can I get that absolute URI of the attachment? When I click on the attachment it just downloads it locally.
     
    Also could you expand on this?
     
    "SharePoint keeps a record of the attachment names at the version point of time and if they still exist, a link to open them. "
     
    Where can I see that reference? When looking at the version history of a list item I don't see the attachment upload referenced anywhere.
  • WarrenBelz Profile Picture
    152,853 Most Valuable Professional on at
    If you put on a Label
    First(YourAttachmentControlName).AbsoluteUri
    you will see where it is stored.
    However contrary to what I believed, it seems the history of attached files are not stored

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard