How to update Field Usage for Salesforce uneditable Standard Fields?

How to update Field Usage for Salesforce uneditable Standard Fields?

To update Field Usage for Salesforce uneditable Standard Fields, we have to set businessStatus through deployment.

1. Extract the Account Object BillingAddress field.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>Account.BillingAddress</members>
        <name>CustomField</name>
    </types>
    <version>59.0</version>
</Package>

2. Add businessStatus value to the extracted field and deploy the field.

<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>BillingAddress</fullName>
    <trackFeedHistory>false</trackFeedHistory>
    <businessStatus>Active</businessStatus>
</CustomField>

Leave a Reply