As per documentation valueSettings
and controllingFieldValue
should be responsible for adding or removing field dependencies.
But interestingly nothing works.
I tried removing a node of valueSettings
from a Dependent Field
and deployed Controlling and Dependent Field both while deployment but still the dependencies are not being removed from org.
I removed the first one from the xml.
<valueSettings>
<controllingFieldValue>Circumstantial</controllingFieldValue>
<valueName>Opting For Commerce</valueName>
</valueSettings>
While deploying it does not give any error.
Best Answer
The documentation clearly mentioned about the
valueSettings.
valueSettings:
Refer the Declarative Metadata Sample Definition for custom picklist