My managed package is extensively customized and extended by some customers in their org. For our packaged objects they e.g. add
- Triggers + Custom Apex code
- Validation Rules
- Process Builder processes
I learned the hard way how such customizations can degrade packaged functionality (perfectly described in this Dreamforce session). To better know how much customization there is I planned on displaying this info on a page to the customer. My question now is:
How can I use the Metadata / Tooling API to find dependencies of my packaged objects?
Some of these informations can be queried using a SOQL on ApexPage, ApexTrigger and others, but is there a way for all the other relevant metadata types?