Skip to content

yasarshaikh/MetadataComponentDependency

Repository files navigation

MetadataComponentDependency

Deploy to Salesforce

Caveat : This entire dependency functionality relies on MetadataComponentDepenency object, which is still in Beta as of v48.0


Steps to use:

  1. Add remote site setting with your VF page's domain
  2. Go to MetadataComponentDependencyRenderer page
  3. Preview it.


Special Thanks:

  1. Ajinkya Shedage - For UI related help
  2. Vis - For beautiful graph library
  3. Andrew Fawcett - For Deploy to salesforce button


Technical details:

We have used MetadataComponentDepenency from tooling api Salesforce. This will fetch all the dependent component. This will be visualized by Vis library by means of Visaulforce page with JS Remoting.



Future Aspects:

  1. Need to have configuration for the graph(e.g. shape of Node, color of node depending on type of Node)
  2. Need to implement asynchronous flow to fetch all types one by one(instead in single go). This will help to make it progressive.
  3. Checkboxes on the top to make sure only those types should be considered for dependency checks.
  4. Need to make Ux more intutive by means of more readable buttons, alerts/toasts, progress bar etc.
  5. Responsive to the device scale
  6. And many more...

Releases

No releases published

Packages

No packages published

Languages