ConnectorLib C++ 23.3

# Run the Connector

After you have collected the required files and configured the connector, you can run the connector by starting `connectorLibCpp.exe`.

## Install the Connector as a Service

You can install the connector as a service using the `-install` command line option. For example:

    connectorLibCpp.exe -install

## View Log Messages

Any log messages produced by your connector implementation appear in the appropriate log file. For example, in the HelloWorld connector introduced in Implement a New Connector, a message is logged by the `synchronize` action. The default configuration schedules a single synchronize task called MYTASK1, so when you run the connector the following message is logged to `logs\synchronize.log`:

    	30-Normal: MYTASK1: Hello World

## Set Custom Configuration Parameters

The connector automatically reads configuration parameters from the appropriate location. If you are using the example HelloWorld connector from Implement a New Connector, you can modify the `Target` parameter in the configuration file. For example:

            [MyTask1]
            Target=Earth

When you run the connector again, the following message is logged:

    	30-Normal: MYTASK1: Hello Earth

When you start the `synchronize` action using an ACI command, you can override the values of configuration parameters. This is handled automatically by ConnectorLib C++, so if you use the following action:

    	http://localhost:1234/action=fetch&fetchaction=synchronize&Target=Everybody

...the following message is logged:

    	30-Normal: MYTASK1: Hello Everybody

Copyright 2022 Open Text
Version 23.3 | Last updated June 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL ConnectorLib C++ 23.3

Topic Title: Run the Connector