If we export the custom account attributes from one environment to another we find that the 'In Detail','In Popup','In Tables','Hide in Popup' values are not exported and are set to the default values.
Steps to reproduce
- Navigate to Admin > Attributes > Account tab.
- Create a separator and Account Attribute as shown below
Image description
- Export these custom attributes. The exported metadata file has just the following information:
<CustomAttributeDescriptor objectType="Account" displayName="ACC_ALL_NO" dbAttributeName="CAS19" dataType="STRING" groupName="ACC_SEP_01">
<isManaged>true</isManaged>
<isEditable>false</isEditable>
<isOOTBAttr>false</isOOTBAttr>
</CustomAttributeDescriptor>
There is no information about InDetail, InPopup, InTables or Hide in Popup if Empty.
Because of this missing information, when the same metadata file is imported back into the system, these values are set to Default, which is Yes.
This is a bug that is fixed in 7.0.1 P05 and 7.0.2 P04.
Deploy the respective patches to have the issue fixed.