Customization > Working with Preferences > Deleting a Preference
Deleting a Preference
The deletion of a preference is also done through the use of an XML load file. Using the example from the Creating a Preference topic, we will delete the preference /com/mycompany/MyNewPreference. The deletion of the preference will also remove any preference instances which may have been set for this preference in the UI.
1. Create an XML file, deleteMyNewPreference.xml, containing the following definition to specify the deletion of the preference.
<?xml version="1.0"?><!DOCTYPE NmLoader SYSTEM
"standardX10.dtd">
<NmLoader>

<csvDeletePreferenceDefinition
handler="wt.preference.LoadPreference.deletePreferenceDefinition">
<csvname>/com/mycompany/MyNewPreference</csvname>
</csvDeletePreferenceDefinition>

</NmLoader>
2. Submit your load files as described in Code and Configuration Deployment (CCD) Utility.
Was this helpful?