I had the same configuration import failures and spent weeks debugging. Here’s what actually worked - addressing all three validation aspects systematically.
For attribute-to-type mapping validation, you need to build a comprehensive mapping dictionary first. Export your target ENOVIA schema:
print type ConfigPart select attribute dump |
print type ConfigPart select property dump
This shows ALL available attributes with their exact symbolic names. Your ‘RevisionStatus’ needs to map to ENOVIA’s actual attribute - likely ‘revision’ or ‘attribute[Status]’ depending on your configuration.
For MQL schema verification, create a validation script that runs before import:
temp query bus ConfigPart "*" "*" where "attribute[YourAttr] != ''"
print bus $1 select attribute[YourAttr] dump
This confirms the attribute exists and is accessible. Run this for EVERY attribute in your import file.
For import/export mapping consistency, the critical step is ensuring your import mapper uses the same symbolic names as the export. Create a mapping configuration file:
<attribute-map>
<source name="RevisionStatus" type="string"/>
<target name="attribute[Status]" type="string"/>
<transform>direct</transform>
</attribute-map>
The transform can be ‘direct’, ‘lookup’, or ‘calculated’ depending on whether values need conversion.
Key insight: ENOVIA’s config import validates in this order: 1) Type exists, 2) Attributes exist on type, 3) Data types compatible, 4) Values within constraints. Your error at step 2 means the attribute name doesn’t match the schema. Use the MQL print commands above to get the exact names, then update your import mapping file with those exact symbolic names.
Also critical - if ConfigPart is a custom type, verify it’s properly registered in the import framework. Check wt.properties for ‘wt.load.ConfigPart’ entries. Missing registration causes the importer to skip attribute validation entirely, leading to silent failures or the errors you’re seeing.
After fixing the mapping, always do a dry-run import with validation-only mode enabled. This catches mapping issues before attempting actual data import. Your automation should include pre-import validation as a mandatory step - never skip straight to import without schema verification first.
This draft is based on general ENOVIA knowledge. It has not been verified against your specific version and environment. Practitioners: verify the steps and share your experience below.