Customization > Deploying Code and Configuration Package > Customization Examples with CCD > Use Case 4: CCD package for Importing a Classification Structure through Loader
Use Case 4: CCD package for Importing a Classification Structure through Loader
This section describes the steps to import a classification structure on a target system using the Code and Configuration (CCD) utility.
1. To export a classification structure, click Actions > Export > Export to XML available from the Classification Tree table. For more information, see Export a Classification Structure.
2. Add the exported ZIP file in the CCD customization package at the below location.
\ccd_package\configurations\loadFiles\
3. To import the classification structure ZIP file, create an NmLoader using the sample below. Replace <loadFiles/path_for_zip_file> with the actual path to the ZIP file.
<?xml version="1.0"?>
<!DOCTYPE NmLoader SYSTEM "standard12_1.dtd">
<NmLoader>
<csvClassificationImport handler="com.ptc.windchill.csm.ix.LoadClassificationImport.executeClassificationImport">
<csvFilename><loadFiles/path_for_zip_file></csvFilename>
</csvClassificationImport>
</NmLoader>
4. After creating the above Nmloader, add its reference to the loadFileSet.xml file of the CCD package.
5. Update the deploy.xml at below location pointing to loadFileSet.xml as shown below.
\ccd_package\configurations
<deploy>
<loadFileSet>custom/loadFileSet.xml</loadFileSet>
</deploy>
6. Run the package.
Was this helpful?