Advanced Customization > Business Logic Customization > Packages Customization > Package Type-Based Properties > Reading and Loading Type-Based Properties XML File
  
Reading and Loading Type-Based Properties XML File
Type-based property sets are created and modified by loading an XML file that describes these sets (see sample in Type-Based Properties XML File). This XML file can reside anywhere as long as the location is specified to the loader.
The loader is invoked from a Windchill shell while the Method Server is running:
java com.ptc.windchill.wp.WPTypeBasedPropertiesLoader -load <XML file>
* 
The loader prompts for the site administrator user-id and password to perform this operation.
For convenience, the loader can be used to create an XML file that describes the current type-based property sets in the system or to recreate the default property set from the initial install. The newly created XML file can then be modified and loaded as described above.
To retrieve the currently loaded sets, execute the loader from a Windchill shell while the Method Server is running as:
java com.ptc.windchill.wp.WPTypeBasedPropertiesLoader -read <XML file>
To retrieve the OOTB default set from the initial installation, execute the loader from a Windchill shell while the Method Server is running as:
java com.ptc.windchill.wp.WPTypeBasedPropertiesLoader -read <XML file> -default