Deleting Preference Definitions
Preference Definitions and all the associated multi value preference instances could be deleted using the LoadFromFile utility.
* 
A sample file resides in the system at the following location: ..\IX_LOAD\prog_examples\Mappings\src\delete_preferenceDef_NmLoader.xml

<csvDeletePreferenceDefinition handler="wt.preference.
LoadPreference.deletePreferenceDefinition">
<csvname>R_folderPath</csvname>
</csvDeletePreferenceDefinition>
This is the command to delete the preference definition and related multi-value instances: Windchill wt.load.LoadFromFile e:\ptc\mapping-test\deletePreferenceDef_NmLoader -u wcadmin -p wcadmin
* 
Preserve the CSV data for subsequent updates. As there is no easy way to extract information from the system into CSV format
Was this helpful?