---
schema_version: "1"
id: d5661e3ed8c9f95f7f1bcc7641391a6b7df8ea9ce647e932f835087223cf7bf6
title: Working with Metadata and Data Dependencies
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/dx_inspector_metadata_data_dependencies.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.dx_inspector_metadata_data_dependencies.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6416b101ed6d060a9493dde11e0f9d3aa430b20cc0a90f3bd65ae8f7d74923e8
description: Identify, map, and visualize the relationships between metadata components and data records in your org. You can view dependencies early to select all required metadata and data before deployment, which prevents deployment failures.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Working with Metadata and Data Dependencies

Identify, map, and visualize the relationships between metadata components and data records in your org. You can view dependencies early to select all required metadata and data before deployment, which prevents deployment failures.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col style="width:100%"></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

When you select a metadata component or data record to deploy, the metadata and data deployment feature automatically scans your org to identify all metadata-to-metadata and data-to-data dependencies. The feature identifies data dependencies up to 10 levels, and metadata dependencies up to 50 levels.

Use the Metadata Dependencies window to plan your deployment in advance by visualizing relationships between metadata components. To access the window from the Change Management tab, click the down arrow (![Down arrow icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/extend_click/images/lex_icon_action_list_item_dropdown.png)) icon for a metadata component, then select **View Dependencies...**. The window shows metadata relationships in a hierarchical tree. For details, see [Deploy Metadata and Data to a Target Org](https://help.salesforce.com/s/articleView?id=platform.deploy_metadata_and_data_to_target_org.htm&release=264.0.0&type=5 "Move your metadata changes and configuration data from your current org to a target org. ").

![Metadata dependencies window showing related metadata.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-extend_click-264-0-0-production-enus/5f7d9219-b7b1-4552-8891-f1aba9b289fc/extend_click/images/dx_metadata_dependencies.png)

For data-specific dependencies, the feature automatically preselects parent dependencies. You can also select the parent and child dependencies during the data selection flow.

- **[Project Management App Deployment Example](https://help.salesforce.com/s/articleView?id=platform.dx_dependencies_example.htm&release=264.0.0&type=5)**  
    Learn how the metadata and data deployment feature in DX Inspector resolves metadata and data dependencies and preserves record relationships, using a sample app.

#### See Also

- [Project Management App Deployment Example](https://help.salesforce.com/s/articleView?id=platform.dx_dependencies_example.htm&release=264.0.0&type=5 "Learn how the metadata and data deployment feature in DX Inspector resolves metadata and data dependencies and preserves record relationships, using a sample app.")