Loading and Registering the LC LSX

You must load the LotusScript® Extensions for Connectors (LC LSX) using the following statement in your script:

Uselsx "*lsxlc"

For HEI Users

The following information, as well as Appendix E, pertain to HCL Enterprise Integrator (HEI) users only.

Each method described in this manual is accompanied by basic example syntax that begins with the following statement:

Uselsx "*lsxlc"

HEI requires that you also provide a name for every session and the name of an existing connection document. You must specify Dim LCSession as a named session (this becomes the default log document name). LCConnections must be dimensioned as existing named connection documents that have been created in the HEI Administrator.

Example statement syntax is shown as follows:

Uselsx "*lsxlc"
Sub Initialize
    DIM MyLEISession As New LCSession ("MainLEISession")
    Dim MyNotesConnection as New LCConnection("MyNotesConn")
    Dim MyOracleConnection as New LCConnection("MyOracleConn")

In the preceding example, "MyNotesConnection" and "MyOracleConn" are assumed to be existing named connection documents in the HEI Administrator. When writing LC LSX scripts for HEI, LCSession must be named. This name is used as the default log document name. Named sessions enable support of HEI activity log documents.

Note: The HEI Administrator uses the LC LSX to perform various browsing calls, such as Select Metadata and Map Fields.