Loading and Registering the LC LSX

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

Uselsx "*lsxlc"

For LEI Users

The following information, as well as Appendix E, pertain to IBM® Lotus Enterprise Integrator® (LEI) users only.

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

Uselsx "*lsxlc"

LEI 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 LEI 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 LEI Administrator. When writing LC LSX scripts for LEI, LCSession must be named. This name is used as the default log document name. Named sessions enable support of LEI activity log documents.

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