Business Field Mapping
Business Field Attribute Mapping
Business Field attributes are classified into following types based on the data type of the attribute values:
• String Value
• Boolean Value
• URL Value
• Integer Value
• Floating point Value
• Floating point With Unit Value
• Date And Time Value
• Reference Type
|
Reference Type specific attributes are not supported in STEP-based data exchange.
|
Apart from the data type based classification; these attributes can be classified into following attribute types based on the way these are associated with the various Windchill business objects.
• Typed
• Ad-hoc
• Classification
|
Only Type Specific business fields are supported.
|
Representation in Windchill XML Format
A sample business field representation is represented in the following way in XML-based data representation
<businessField>
<businessFieldID>
<solution>WINDCHILL</solution>
<namespace>
<category>type</category>
<name>org.rnd.TestPart</name>
</namespace>
<name>accAttr</name>
</businessFieldID>
<datatype>wt.units.FloatingPointWithUnits</datatype>
<datatypeQualifier>QOM=Acceleration,BASE_UNITS=m/s**2</datatypeQualifier>
<value>23.21|4|m/s**2</value>
<value>12.12|6|m/s**2</value>
<value>33.31|8|m/s**2</value>
<value>56.63|10|m/s**2</value>
</businessField>
Supported Types
Objects types for business fields attributes exchange have to be registered in stepdex.properties. The property wt.stepdex.suppported.businessfield.exchange.types must be set. Comma-separated values need to be provided for the property. You have to provide the qualified names for each soft type.
For example, if you want to support business field import for object types such as WCTYPE|wt.part.WTPart|com.ptc.MyPart and WCTYPE|wt.part.WTPart|com.ptc.computerPart then you have to make following entries in the stepdex.properties: wt.stepdex.suppported.businessfield.exchange.types=com.ptc.MyPart, com.ptc.computerPart