Skip to main content

Questions tagged [dependency-api]

Filter by
Sorted by
Tagged with
1 vote
1 answer
113 views

Compile all Flows?

Is there a simple mechanism to "compile all Flows" (e.g. in the way there is for Apex classes and triggers)? If not, what's the next fastest way to verify that dependencies aren't broken ...
4 votes
3 answers
6k views

How to query MetadataComponentDependency for "Standard" Field?

I'm trying to use the New Dependency API to find usage location of Standard Fields. Due to limitations, you cannot filter by API Name and must instead use via the MetadataComponentId: SELECT ...
4 votes
1 answer
270 views

Prevent adding unwanted Dependencies to a Managed Package

A customer of mine accidentally added a Sales Cloud dependency to his managed packages. He started using an open source library referencing Pricebook.SObjectType and didn't see this was added during ...
1 vote
0 answers
241 views

How to check what components are using standard fields uisng Dependency API?

This is the process I am following to see what components are dependent on CustomField : Account.Foo__c First get Id of custom field: sfdx force:data:soql:query --query="SELECT Id,DeveloperName ...
5 votes
0 answers
199 views

How can I find the relationship between MetadataComponentId and the expected name for the Metadata API?

I've been using the Dependency API to try to retrieve all dependencies for a given metadata. I would like to get a list of dependencies, and then retrieve these with the Metadata API. Unfortunately, ...