Relationship mapping by interface definition - HxGN SDx - Update 64 - Administration & Configuration

Administration and Configuration of HxGN SDx

Language
English
Product
HxGN SDx
Search by Category
Administration & Configuration
SmartPlant Foundation / SDx Version
10

The following is an example of relationship mapping for Maps to Relationship AreaTag with action Check Exists mapping.

  1. In the Mappings pane, select the Relationship Mapping option for Add New Mapping.

  2. Select the Target System tab at the bottom of the Mapping pane.

  3. Type *AreaTag* in the box, and click Search to search for all relationships that have AreaTag in the name.

  4. Select AreaTag from the results in the list box, and click Add .

    • The Maps to Relationship AreaTag mapping is added to the column header.

    • If one or both ends of the relationship are interface definitions, the Manage Staging Relationships option is available at the bottom of the Mappings pane to create appropriate relationship mappings for the required class definitions.

  5. In the Column For Relationship End 1 box, select the column header for end 1 of the relationship, for example, select Area.

  6. In the Column For Relationship End 2 box, select the column header for end 2 of the relationship, for example, ITaggedItem.

  7. Click Manage Staging Relationships to open the Manage Staging Relationships dialog box.

  8. Select the required staging class definitions from the Interface End Staging Class Definition column using the Is Selected check box, and type the name of a staging relationship definition or select an existing relationship to map to in the Staging Relationship Definition Name column.

    Do not start the relationship name with the strings, MSR or HEX, as these are reserved for the delivered mappings, and may cause issues due to uniqueness constraints.

    SHARED Tip You can delete an existing relationship byclearing the Is Selected check box and clicking Save.

  9. If necessary, change the Relationship Action to another selection.

    SHARED Tip For a list of relationship actions, see Actions.

  10. Click Save.

How do I create relationship mappings if both ends of the relationship are interface definitions?

If both ends of the relationship are interface definitions, you can select the required class definitions from the End1 Staging Class Definitions and End2 Staging Class definitions columns that are displayed in the Manage Staging Relationships dialog box. These columns list the staging class definitions available for each end of the relationship.

For example, to create a tag-parent tag relationship, do the following:

  1. Click Add , and select the first tag from the End1 Staging Class Definitions list and the second tag from the End2 Staging Class Definitions list.

  2. Select the appropriate relationship action from the Relationship Action list.

  3. Specify the staging relationship in the Staging Relationship Definition Name text box.

  4. Click Save.

    SHARED Tip To delete an existing relationship, select the required row in the grid, and click Delete .