Mapping of Customized Fields during Check In
Customized fields which are used in defining the mapping rule, for TO_CAD mapping, and
get populated only after Check -In operation, needs to handled in a special way. This is
needed so that their values are correctly updated in the CAD file.
Follow the below steps to set up this feature.
Note: MAPPING TEMPLATE " NAME " and the PLMFIELD " FIELD " must be in
Upper-Case.
- Create a file ModifiedMappingRulesForCheckIn.xml in the
%CFE_CLIENT_HOME%Toolkit directory. The file must contain the
following
syntax:
<MODIFIEDCHECKINRULES> <!-- MAPPING TEMPLATE "NAME" and the PLMFIELD "FIELD" must be in Upper-Case--> <TEMPLATE NAME = "Inventor_PLM"> <PLMFIELD FIELD = "DOC.CS_ATTR_011" TYPE = "EVALUATE" VALUE = "CURRENT_DATE" > </PLMFIELD> <PLMFIELD FIELD = "DOC.CS_ATTR_012" TYPE = "REFERENCE" VALUE = "DOC.CS_ATTR_001" > </PLMFIELD> <PLMFIELD FIELD = "DOC.CS_ATTR_013" TYPE = "LITERAL" VALUE = "Hyderabad"> </TEMPLATE> <TEMPLATE NAME = "Inventor_A4_PLM"> <PLMFIELD FIELD = "DOC.CS_ATTR_011" TYPE = "EVALUATE" VALUE = "PLM_USER" > <PLMFIELD FIELD = "DOC.CS_ATTR_012" TYPE = "REFERENCE" VALUE = "DOC. CS_ATTR_002" > </PLMFIELD> <PLMFIELD FIELD = "DOC.CS_ATTR_013" TYPE = "LITERAL" VALUE = "Infor"> </PLMFIELD> </TEMPLATE> </ MODIFIEDCHECKINRULES>
- Modify the contents of the ModifiedMappingRulesForCheckIn.xml file to match the specific requirement. Perform the following steps to modify the content:
- Enter a relevant template name.
- Enter a customized field name for the PLMFIELD. The PLMFIELD must have a TO_CADmapping rule defined in this template.
- Type EVALUATE indicates the value that can be taken from the system variables like:
- CURRENT_DATE
- PLM_USER
- CURRENT_TIME
- CURRENT_DATE_TIME
- Type REFERENCE indicates the value which can be another field from the PLM table.
- Type LITERAL indicates that during mapping, this field will be assigned with the mentioned constant value.
Note: Only the options specified above are supported by the PLM.