You need to sign in to do that
Don't have an account?
SiriusBlackOp
Package Pre-Installation Validation.
Is there a way to pre-validate data in a salesforce instance prior to an installation occuring?
For instance, if I wanted to verify data by first running a query and if a problem is identified then raise an error. Is there a way to do that?
ckemp
Just put your validation in your tests. They will be run before the client installs it (assuming they don't check off "Ignore Apex errors" in the last step.)