Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Translate the entire conversation x

Mapping rule for skip exporting/importing attributes using Import/Export Management in Windchill

PD_12915986
2-Explorer

Mapping rule for skip exporting/importing attributes using Import/Export Management in Windchill

We are migrating CAD Part (EPMDocument) form source to target system using Windchill Import/Export Management.

 

The attributes which are available on the source system are not available on the target system and we need to skip them while exporting/importing the CAD Part to get it imported successfully.

 

We have the option of export/import rules available to create mapping rules to skip the attributes.

 

Is there any mapping rules to avoid the attributes which are not available on the target system?

 

In the exported TAG-EPMDocument-0.xml, the attributes which needs to be skipped are available like this:
<businessField>
<businessFieldID>
<solution>WINDCHILL</solution>
<namespace>
<category>type</category>
<name>com.abc.DefaultEPMDocumentMaster</name>
</namespace>
<name>Attribute1</name>
</businessFieldID>
<datatype>java.lang.String</datatype>
</businessField>


1 REPLY 1
HelesicPetr
22-Sapphire II
(To:PD_12915986)

Hi @PD_12915986 

You can specify the import rules to ignore IBA parameters

here is the help Mapping Through Special Rules

Excluding a Reusable Attribute Value Named Price from a Reusable Attribute Holder Such As WTPart
<IGNORE_PARENT>
   <tag>ibaPath</tag>
   <path>WTPart</path>
   <value>Price/iba</value>
</IGNORE_PARENT>
In the preceding example, if the following line were deleted, all parent elements in all XML files with <ibaPath>Price</ibaPath> would be excluded:
   <path>WTPart</path>

Hope this can help

PetrH

Announcements



Top Tags