Find your content:

Search form

You are here

Is there a hidden field deprecation feature for Managed packages?

 
Share

As an ISV we dream of deprecated fields for quite a while. While skimming through a custom objects meta.xml i just stumbled over a deprecated = false in a field definition

<fields>
    <fullName>idx_Record__c</fullName>
    <deprecated>false</deprecated>
    <description>My Field</description>
    <displayFormat>UST-{0}</displayFormat>
    <externalId>false</externalId>
    <label>MyField</label>
    <trackHistory>false</trackHistory>
    <type>AutoNumber</type>
</fields>

When I manually set this to true my Force IDE reports an error:

Deprecation not supported in this organization

Does this mean I could have an org with this feature enabled?!


Attribution to: Robert Sösemann

Possible Suggestion/Solution #1

This is indeed a tease, and gives the impression it can be enabled. Sadly it is for future use as far as I am currently aware and cannot be enabled.


Attribution to: Andrew Fawcett
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/4847

My Block Status

My Block Content