ISPFMergableItem interface - SmartPlant Foundation - IM Update 46 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

This is an optional realized interface and is instantiated when the revision is revised into a lower configuration and provides the merge and compare methods, as well as exposing the status properties. When an object or revision is merged into a higher configuration, it is still maintained at the lower configuration to maintain history.

The following properties are found on this interface.

Name

Description

Set on

SPFMergedToHigherConfig

Has been merged to a higher configuration

Set internally in code

SPFMergeStatus

Merge status

Set internally in code

SPFDesignBasisResolutionRequired

The differences between this object and its original in the higher configuration have been resolved

Set internally in code

SPFPreventMergeInd

When the SPFPreventMergeInd property is set to True, the item cannot be merged. If set to False or not set, then the item can be merged.

Set the property using custom code, or create display item, or column item, and update it using forms/List edit

Functionality configured on ISPFMergableItem

The commands Resolve Conflicts, Compare Object to Higher Configuration, and Merge are configured on this interface.

Merge Method condition

By default, the SPFPreventMergeInd property does not exist on the Merge Method condition. When the SPFPreventMergeInd property is added to the Merge method and the SPFPreventMergeInd property is set to True, Merge is not available using the shortcut menu.

ConflictsResolved condition

The path for the SPFConditionDefn in the ConflictsResolved condition must be updated to Obj.SPFDesignBasisResolutionRequired=False AND Obj.SPFPreventMergeInd=False.

<SPFCondition>

    <IObject UID="CND_ConflictsResolved" Name="ConflictsResolved" Description="Conflicts have been resolved" ContainerID="Core.ConfigAdmin_Admin" />

    <ISPFCondition SPFConditionDefn="Obj.SPFDesignBasisResolutionRequired=False AND Obj.SPFPreventMergeInd=False" />

   <ISPFAdminItem />

    <ISPFSubscribableItem />

  </SPFCondition>