Apex_cleaner.zip May 2026
CleanerTest.cls : Unit tests ensuring 75%+ code coverage for deployment.
The manifest file listing all components for deployment via Workbench or SFDX. Apex_Cleaner.zip
: Identifies and removes Attachment or ContentDocument records that are no longer linked to active parent records. CleanerTest
: Navigate to Static Resources in Setup and upload the Apex_Cleaner.zip if using it for LWC, or use Deployment Settings for code installation. Apex_Cleaner.zip
: Utilizes the Compression namespace (available in Spring '26) to archive data before deletion if backups are required. Deployment Instructions
: Uses metadata settings so admins can adjust cleaning rules without modifying code.