Skip to main content
All CollectionsTroubleshooting & FAQs
Understanding how the metadata selection grid Modified Date is updated
Understanding how the metadata selection grid Modified Date is updated

How the Essentials metadata selection grid Modified Date column is updated.

David Belove avatar
Written by David Belove
Updated over a month ago

Introduction

This article clarifies the functionality of the Diff Key in Copado Essentials and provides insights into how metadata is managed during deployments. Understanding the Diff Key's role and the metadata handling process is crucial for effective deployment management.

The Role of the Diff Key in Copado Essentials

The Diff Key is an integral feature in Copado Essentials that visually indicates the status of metadata components in relation to their state between the source and target Salesforce organizations.

Understanding Diff Key Colors:

  • New (Green): Component exists in the source org but not in the target org.

  • Changed (Orange): Component exists in both the source and target orgs but are different.

  • Same (Grey): Component exists in both source and target but unchanged.

  • Comparing: Component is being compared in the background. Status will update automatically.

  • Unknown: special component or hidden source, unable to verify status.

  • Invalid: component was added to the deployment but no longer exists in the source org. This normally happens when you clone a deployment and change the source org.

  • Added (Green): Indicates that the component exists in the source org but not in the target org.

  • Changed (Yellow): Shows that the component exists in both the source and target orgs but has been modified in the source org since the last deployment.

  • Deleted (Red): Signifies that the component exists in the target org but has been deleted in the source org.

These color codes help users quickly ascertain the nature of changes that have occurred to the components, facilitating more informed decision-making during the deployment process.

Metadata Caching and the Refresh Button

Metadata details, such as the "Modified By" field values for components, are cached within Copado Essentials to enhance performance. The blue circular arrows refresh button at the top of the metadata selection grid (see screenshot below) plays a crucial role in ensuring data accuracy.

Key Functions of the Refresh Button:

  • Updates Diff Key Colors: Refreshes the color indicators based on the latest comparison between the source and target orgs.

  • Refreshes Modified Date Column**: Updates the last modified date information in the metadata selection grid to reflect the most recent data from Salesforce.

Understanding the Diff Key and Metadata Handling in Copado Essentials Special Considerations for Code Deployment

For code components, the timestamp reflects the deployment time rather than when changes were made in Salesforce. This distinction is crucial for understanding the deployment lifecycle and ensuring that deployments are executed with the most current code base.

Best Practices for Effective Deployment Management

- **Regularly Use the Refresh Button: Before finalizing your deployment package, use the refresh button to ensure that all metadata components are up-to-date and accurately reflect the current state between the source and target orgs.

- **Verify Changes with the Diff Viewer: For critical or complex changes, utilize the Diff Viewer to get a detailed comparison of the component's current state directly from Salesforce. This ensures accuracy and helps prevent deployment errors.

- **Understand the Impact of Deployment Timestamps: Recognize that the timestamp for code deployments indicates when the deployment was executed, not when the code was last modified in Salesforce.

Conclusion

The Diff Key and metadata handling features in Copado Essentials are designed to streamline the deployment process by providing clear, visual cues and up-to-date information. By understanding and utilizing these features effectively, you can enhance your deployment strategy and reduce the risk of errors.

For additional support or to address specific concerns, please contact Copado Essentials Tech Support through the chat button in the lower right of your Essentials applications. To speed up our response, please provide a detailed descriptions and relevant screenshots.

Did this answer your question?