We are upgrading from Windchill 9.1 to 10.2. As part of the upgrade process, we are running some commands to automatically load custom table views, preferences, etc. In our case, there are some preferences I wish to load, lock at the context level, and delete child instances for good measure.
Below is an example of a portion of an XML file to load a preference with the command: windchill wt.preference.ImportPreferences
<PreferenceInstance>
<name>/Display/ToolbarDescriptions</name>
<containerClass>wt.inf.container.OrgContainer</containerClass>
<containerName>Actuant</containerName>
<organization>Actuant</organization>
<clientName>WINDCHILL</clientName>
<value>true</value>
<locked>false</locked>
</PreferenceInstance>
This might be a bad example, but there are other cases where we might desire to delete child instances when setting the preference. This is available through the UI, but not through the command line.
This Product Idea is to allow functionality to "Delete Child Instances" via the command line, or via the XML file on a per-preference basis.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.