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.