I'm developing the managed package, which contains some extended lwc form for new account creation.
Reassign "new" button on account object is manual operation (after managed package instalation): During testing in scratch org, I have found, that after the uninstalling my package, I cant reassign "new" button behavior, and see an error: I want to use apex UninstallScript class, to check "new account button" behavior.
- Is there a way to check behavior of standard new account button by apex code?
- Is there a way to delete override of standard new account button by apex code?
- Is there a way to stop uninstall the managed package process with an error message?
- Is there some another way to solve my problem? May be some best practises?