Retrieving and deploying Custom object metadata doesn't contain Owner and CurrencyIsoCode field history tracking information
Last updated 2022-01-18 ·Reference W-2574931 ·Reported By 55 users
Custom Object metadata (.object file) retrieved/deployed using package.xml, does not contain Owner and CurrencyIsoCode standard field and its History tracking setting. This is because they is not exposed through Metadata API on a Custom Object. It is available for Standard object like Account, but not on Custom Object.
1. Create a custom object
2. Enable Field History Tracking for the Name, Owner and CurrencyIsoCode (This field is available after enabling Multi-currency in the org) Fields
3. Export the custom object using the ant migration tool or package.xml as follows:
<?xml version="1.0" encoding="UTF-8"?>
4. Delete the custom object from the org
5. Upload the custom object using the ant migration tool
Custom object's "Owner" and "CurrencyIsoCode" field has history tracking enabled
Custom object's "Owner" and "CurrencyIsoCode" field does not have history tracking enabled
Manually enable the setting.
Reported By (55)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.