Mapping rule for skip exporting/importing attributes using Import/Export Management in Windchill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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>
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
