Enterprise Administration > Windchill Export and Import > Import and Export Policies, Mapping Rules, and Conflict Messages > Mapping Through Special Rules > Client-Based Mapping Rules Files
  
Client-Based Mapping Rules Files
The rules and property values that appear in a client-based mapping file control Windchill export and import operations. These rules and values overrule conflicting rules and values in the wt.properties file or a generalized mapping rules file. The <debugProperties> element is the location for properties, and it is not required. This element can include the import.parser.validate property that enables you to debug import operations by generating messages when the XML parser detects inconsistencies. The property that enables the automatic resolution of folder and other conflicts is named import.overrideConflicts when it appears in mapping files.
In a client-based mapping file, the mapping rules occur in the <mappingRules> element.
Note that all the following examples can have the tag-value pair:
<path>…</path>
This tag-value pair allows the narrowing down of the elements applicable for the mapping rule. For example, the following mapping rule changes the value for tag <number> from 1 to 4 for all XML files, such as WTPart and WTDocument instances.
<COPY_AS>
<tag>number</tag>
<value>1</value>
<newValue>4</newValue>
</COPY_AS>
If you wanted the preceding example to apply only to WTPart, you could achieve that by specifying the tag <path> and its value in the mapping rule:
<COPY_AS>
<tag>number</tag>
<path>WTPart</path>
<value>1</value>
<newValue>4</newValue>
</COPY_AS>
In this case, even though the number of a WTDocument instance is 1, its value will still be 1 instead of 4 for both import and export.