Specialized Administration > MPMLink Administration > Copy Over Framework > Sample Configuration of Copy Over Property
Sample Configuration of Copy Over Property
Purpose: Carry over the global attribute Location of the part subtype Supplier when executing the Update to Current Upstream Equivalent Object action in BOM Transformer in the Drive System product only.
Prerequisite: You have collected the internal name of the part subtype Supplier and the attribute Location. This information is available in the Type and Attribute Management utility.
Configuration Procedure:
<Property name="<property key>" multivalued="," default=""/>
<AddToProperty name="<property key>" value="<property value>"/>
Identify the elements of property key:
Copy over delimiter for the BOM Transformer action: com.ptc.windchill.mpml.copyOver
Action name and mode: update
Fully qualified class name of part: wt.part.WTPart.com.ptc.windchill.SupplierPart, where com.ptc.windchill.SupplierPart is the internal name of the Supplier subtype
Container class name: PDMLinkProduct
Container name: Drive System
Derived value of property key:
com.ptc.windchill.mpml.copyOver.update.wt.part.WTPart.com.ptc.windchill.SupplierPart.PDMLinkProduct.Drive System
Identify the elements of property value:
WCTYPE
Fully qualified class name of part: wt.part.WTPart|com.ptc.windchill.SupplierPart, where com.ptc.windchill.SupplierPart is the internal name of the Supplier subtype
IBA for global attribute
Internal name of the Location attribute: location
Derived value of property value:
WCTYPE|wt.part.WTPart|com.ptc.windchill.SupplierPart~IBA|location
After combining the elements of the property key and property value, the configuration for the copy over property is as follows:
<Property name="com.ptc.windchill.mpml.copyOver.update.wt.part.WTPart.com.ptc.windchill.SupplierPart.PDMLinkProduct.Drive System" multivalued="," default=""/>
<AddToProperty name="com.ptc.windchill.mpml.copyOver.update.wt.part.WTPart.com.ptc.windchill.SupplierPart.PDMLinkProduct.Drive System" value="WCTYPE|wt.part.WTPart|com.ptc.windchill.SupplierPart~IBA|location"/>
Isto foi útil?