Metadata dependency using Salesforce API's - Ideas - Salesforce Trailblazer Community
Trailblazer Community

All Ideas

Idea Details

Post an Idea
210  Points
In Pilot/Beta
Idea is being tested as a pilot or beta feature.

Metadata dependency using Salesforce API's


Currently we are unable to find metadata dependency using API's like metadata API.
We are working on a product which consumes Salesforce API's. We are able to retrieve metadata using metadata API like CustomObject.ApexPage,Layout,workflow etc.
When we try to deploy this metadata into destination org it throwing dependency errors which is expected.
For ex: We are retrieving an ApexPage which refers to Controllers and controllers again referring to CustomObject. When we are trying to deploy ApexPage it is throwing dependency error like Controller and CustomObject are missing. We are able to find dependencies in ChangeSets using Add/Find Dependencies option from change sets.
My idea is it could be helpful for users who are consuming Salesforce API's if we have service to get dependencies when we pass metadata member like ApexPage,CustomObject etc. And we can easier the deployments.

User-added image

User-added image


Merge Idea · Flag

  • Upvotes
  • Downvotes



from AppExchange

Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.



Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.

Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.


Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.