Modifying Objects Properties after Connection Creation (FLConnectionCreateEdit)

An opening ID is an entry point used to customize business logic. The FLConnectionCreateEdit business logic defines rules to modify the properties of objects everytime a connection is created between these objects.

Note: For more information about customization by business rules, see Installation and Setup: Customize: Behavior: Data Setup: Customization by Business Rules.

This page discusses:

General Information

This opening ID is invoked everytime a logical connection is created between objects.

This opening ID is used to modify the properties of the connected objects once the connection is validated.

The table below provides you with information related to the definition of the opening ID.

PLM Opening ID: FLConnectionCreateEdit
Customization intent: Execution
Execution context:Client

Input Objects

Input objects must be of the following types:

  • ThisObject: the object on which the rule is applied. This type must be RFLVPMLogicalPort.
  • Parameters: corresponds to the context object.

Context Object parameters

Parameter NamesTypesRead/WriteComments
AssociatedConnectablePLMEntityReadThe instance or reference aggregating ThisObject.
TargetPortPLMEntityReadThe port that is going to be connected to ThisObject.
TargetConnectablePLMEntityReadThe instance or reference aggregating the target port.

Sample

The following sample modifies the property of an equipment connector when it is connected to a harness connector.

let AssociatedConnectable(RFLVPMLogicalInstance)
let TargetConnectable(RFLVPMLogicalInstance)
let TargetPort(RFLVPMLogicalPort)
set AssociatedConnectable = Parameters->GetAttributeObject("AssociatedConnectable")
set TargetConnectable = Parameters->GetAttributeObject("TargetConnectable")
set TargetPort = Parameters->GetAttributeObject("TargetPort")
AssociatedConnectable.Name=TargetPort.Name+AssociatedConnectable.Name