function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BugudeBugude 

How to find Dependent Components for a Class/Page/Trigger using API (Tooling or Metadata API)?

Hi,
 
We are trying to automate certail processes for which we need to find the dependent components for a Class/Page/Trigger.
 
We understand that salesforce is providing dependent components using "Show Dependencies" button when respective components are viewed but is there a way to get these programatically?
 
Any details around this is much appreciated.
 
Thanks!
ShashankShashank (Salesforce Developers) 
All I could find are these links:
http://andyinthecloud.com/2013/02/02/spring-cleaning-apex-code-with-the-tooling-api/
http://mfdcbwy.postach.io/well-it-depends-using-the-tooling-api-to-generate-dependency-graphs-for-apex-classes-and-triggers