Skip to main content
4-Participant
March 21, 2025
Solved

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

  • March 21, 2025
  • 2 replies
  • 508 views

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>


Best answer by HelesicPetr

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

2 replies

HelesicPetr
22-Sapphire II
22-Sapphire II
March 25, 2025

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

Community Moderator
March 28, 2025

Hello @PD_12915986

 

It looks like you have a response from our community champion. If it helped you solve your question please mark the reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.