Exporting and importing port connections
Exporting connections
Port connections can be exported to a text file. This is useful when similar components are repeatedly added to a configuration. If the port names are similar it is fast to search and replace component and port names and import port connections instead of having to manually connect the ports.
Port connections can be exported either by selecting File->Export connections... or by selecting the components to export port connections for and right-clicking one of the selected components and selecting Edit->Export connections. The first case will export connections for all components in the root container, where as the latter case only exports connections for the selected components.
The export connections dialog will be displayed:
The Ports check box indicate that port to port connections will be exported. The I/O check box indicates that port to Apis item or Apis item to port connections will be exported. The sub-components check box indicates that connections of components inside components that are containers will be exported.
The connections file will be saved on the client. |
Importing connections
Port connections can be imported. This means that connections between ports can be made by importing a text file containing the connections.
To import connections select File->Import connections. A standard file selection dialog is displayed, and by selecting a file containing the connections, port connections are made.
File structure
The port connections file contains six tab separated columns. (There is no heading). The columns are shown below:
Column 1 (Input) | Column 2 (Input) | Column 3 (Input) | Column 4 (Output) | Column 5 (Output) | Column 6 (Output) |
---|---|---|---|---|---|
Contains the complete component name of the component. The complete name consists of the all the container names down to the component. The component names are surrounded by a angular brackets. | The port or item name | True if Apis item, False if port | Contains the complete component name of the component. The complete name consists of the all the container names down to the component. The component names are surrounded by a angular brackets. | The port or item name | True if Apis item, False if port |
Port connection file | Copy Code |
---|---|
<asf><asf><Format> Time false <asf><asf><Time> CurrentTime false <asf><asf><Dec> Time false <asf><asf><Time> CurrentTime false |