Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Config.json: (Mandatory) This files describes the data source that Sisense is to connect to, what information is to be returned, and how it is to be imported into the ElastiCube.

  2. OAuth2Config.json: (Optional) This file provides Oauth2 credentials if required by the data source. For more information, see OAuth2 Configuration.

  3. _rest.tag: (Optional, but highly recommended) This is an empty file that when included, redirects Sisense to the default Custom REST library file. For more information, see Custom REST Library Files below.

For Sisense to locate your configuration files, each connector you wish to add must be in a folder located in the following directory:

...

Within this folder, you place the configuration JSON file.

Custom Library Files
Anchor
library
library

In addition, Sisense requires that you add the Sisense REST Connector DLL file (Sisense.Connectors.RestConnector.dll) to your connector folder. This file helps Sisense to recognize connectors and include them in your list of connectors.

You can retrieve this file from one of the sample REST connector files included in your Sisense installation located at:

Program Files\Sisense\DataConnectors\DotNetContainer\RestSamples\REST.[ConnectorNam].Connector

After saving the configuration and the Sisense.Connector DLL file, the new connector is displayed in the ElastiCube manager with your default connectors under Web Services.

Alternatively, you can create an empty file and name the file _rest.tag and add it to your connector’s folder. This file indicates that Sisense should use current Sisense REST Connector DLL file and copy it to the connector’s folder. The advantage of this This method is highly recommended as you do not need to add the Sisense REST Connector DLL file each time you upgrade Sisense. If you do not add it, each time you upgrade Sisense, you must replace the DLL file in each of your custom connectors. For more information, click here.


At this point, your connector behaves like the default connectors and allows you to select the relevant tables from your data source.

...