Altova MapForce 2025 Enterprise Edition

CreateConnection

Home Prev Top Next

Creates a connection between the two supplied datapoints (DatapointFrom & DatapointTo).

 

It will fail to do so if the DatapointFrom is not an output-side datapoint, the DatapointTo is not an input-side datapoint, or a connection between these two datapoints already exists.

 

Signature

CreateConnection(in DatapointFrom:Datapoint, in DatapointTo:Datapoint) -> Connection

 

Parameters

Name

Type

Description

DatapointFrom

Datapoint

The datapoint from which the connection is to be created.

DatapointTo

Datapoint

The destination datapoint.

 

Errors

Error code

Description

1200

The object is no longer valid.

1201

Invalid address for the return parameter was specified.

1240

Changing the document not allowed. It is read-only.

1241

Failed creating the connection.

© 2018-2024 Altova GmbH