Schematic Model Manager User Guide

View/Edit Attribute Mappings : Create Attribute Mappings
If the Create option is selected, a new attribute mapping with the default name of New Attribute Mapping is then created at the bottom of the hierarchy of groups and mappings within the current node.
If the Insert option is selected, the new attribute mapping is instead created directly above the node that was selected when the option was selected.
1.
In the Name field, change the default name of the mapping as required. Alternatively, double-click on the name in the tree-view and type in the name. A mapping name may be up to 50 characters. The @ symbol may not be included.
2.
The Element Types field displays the SCTYPEs to which the mapping is to be applied. To select the SCTYPEs, click the ... option at the end of the field. The Select Values dialog is then displayed.
Refer to Create Attribute Mapping Groups for details of this dialog.
3.
In the Database Attribute field select the UDAs/database attributes to which the source file attribute is to be mapped to. The attributes that may be selected will be those common to the SCTYPEs selected in the Element Types field.
4.
Whether or not an attribute mapping is applied can be made conditional. To enter the conditions, click the ... option at the end of the Condition field and enter an XPath Expression using the XPath Expression Builder dialog. Refer to XPath Expression Builder Dialog for details.
If an invalid expression is entered, “False” is displayed in the Condition field, indicating that the mapping cannot be applied. If a valid expression is entered, “True” is displayed.
5.
In the Attribute Value field, either enter the name of the source file attribute. Alternatively, click the ... option at the end of the field and enter an XPath Expression using the XPath Expression Builder dialog. Refer to XPath Expression Builder Dialog for details.
6.
In the Attribute Units field, if applicable select the type of unit (e.g. weight, volume) associated with the source file attribute from the drop-down list.
Alternatively, select the ... option at the end of the field and enter an XPath Expression using the XPath Expression Builder dialog. Refer to XPath Expression Builder Dialog for details.
This field may be automatically completed if the XPath Expression Builder dialog is used to enter an XPath Expression in the Source Attribute field. Refer to Automatic Setting of Attribute Units and Types.
7.
In the File Format field, select the import source file format associated with the source file attribute from the drop-down list. The default entry is that of the attribute group.
8.
The File Format Version field displays the versions of the source file format associated with the source file attribute. The default entry is that of the attribute group.
To select the versions, click the ... option at the end of the field. The Select Values dialog is then displayed.
Refer to Create Attribute Mapping Groups for details of this dialog.

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo