Apex_cleaner.zip Apr 2026
JSZip.resource : Used if the cleaner requires client-side zip handling in Lightning Components.
: Utilizes the Compression namespace (available in Spring '26) to archive data before deletion if backups are required. Deployment Instructions Apex_Cleaner.zip
: Identifies and removes Attachment or ContentDocument records that are no longer linked to active parent records. Apex_Cleaner.zip
: Uses metadata settings so admins can adjust cleaning rules without modifying code. Apex_Cleaner.zip
CleanerBatch.cls : A Batchable class for processing large volumes of data without hitting governor limits.
Compress and Extract Zip Files in Apex (Generally Available)
: Update the Apex_Cleaner_Setting__mdt records to define your data retention policy.