1

We are migrating from salesforce to another system. We need to build field dependencies for dependent picklist fields in salesforce in the new system as well. Can we extract field dependencies from salesforce using some SOQL or any other method which can be provided to external system. \n \n

For Example we have custom fields for Country > State > City which are dependent picklist fields on custom object and many of such fields do not use global value set. We need to extract such data and provide it to external system. We are exploring ways to do the same.

1
  • 2
    How is your field dependency defined in Salesforce? Are you referring to picklists in general or other fields.
    – Jayant Das
    Commented Sep 13, 2018 at 13:32

1 Answer 1

2

Check out the Dependency API. Check out this video: https://www.youtube.com/watch?v=vuj4Vcti-Z4 or here: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_metadatacomponentdependency.htm

1
  • This seems to be about component dependencies, e.g. "this layout is dependant on this custom field". I dont think this covers dependant picklist values?
    – codeulike
    Commented Mar 14, 2023 at 11:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .