ConnectorLib .NET 25.2
ConnectorLib .NET SDK Programming Guide

# Run the Connector

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

## 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 .NET, 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 2025 Open Text
Version 25.2 | Last updated April 2025

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery ConnectorLib .NET 25.2

Topic Title: Run the Connector