Which files were removed from the PowerApps attachment control?


PowerApps does not provide a built-in way to recognize files that were removed from the attachments control. However, you can implement a solution by comparing the original files with the current files in the control. To do this, you need to store the original files in a collection and compare it with the files currently in the attachments control. Remove from the original collection all files that still exist in the control, and you'll get a new collection with only the removed files. Once you have the removed files in a separate collection, you can take further actions, such as deleting the files using Power Automate flow. By reloading the attachments with changes in the control and comparing the initial files with the current ones, you can identify the files that users have removed.


Article 15m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time