Skip Triggers and Validation Rules on Asset Files

To help avoid package deployment failure, you can prevent triggers and validation rules from executing on inserts, updates, or deletes related to asset files. This feature is available in Lightning Experience, Salesforce Classic, and all versions of the Salesforce app.

Go to Setup, enter Files in the Quick Find box, and select General Settings. Then select Skip triggers execution and validation rules on asset files.