OneDrive Data Source

Configuring SearchBlox

Before using OneDrive Data Source, install SearchBlox successfully and create a Custom Collection.

1036

**Configure Onedrive Application

741
  • Click on Add an app after successful login
743
  • Specify application name and click on create
736
  • Note down application ID
784
  • click on add platform
768
  • Click on WEB
742
  • Specify redirect URL and click on save
738

OneDrive Data Source

  • Download the SearchBlox Connector UI. Extract the downloaded zip to a folder.

Contact [email protected] to request the download link for SearchBlox Connectors UI. The following steps include the example paths for both Windows as well as Linux. In Windows, the connector would be installed in the C drive.

  • Unzip the archive under C:* or /opt*.
  • Create a data folder on your drive where the files would be temporarily stored.
  • Configure the following properties once you create a data source in the connector UI.

Accessing Connector UI

data-directoryData Folder where the data needs to be stored. Make sure it has write permission.
api-keySearchBlox API Key
colnameThe name of the custom collection in SearchBlox.
urlSearchBlox URL
exclude-foldersFolders to exclude in OneDrive.
log-file-maxSize,log-file-maxBackups,log-file-maxAgemegabytes after which new file is created
number of backups after which log file should be deleted
Number of days after which log files should be deleted
servlet url & delete-api-url:Make sure that the port number is right. If your SearchBlox runs in 8080 port the URLs should be right.
authURLOneDrive authorization url
default: https://login.live.com/oauth20_authorize.srf
tokenURLOneDrive api token url
default: https://login.live.com/oauth20_token.srf
redirectUrlOneDrive redirect uri to redirect back to Goconnector. Please be careful about port when specifying, it should not be same as SearchBlox port.
clientIdOneDrive app client id
clientSecretOneDrive app client secret
portOneDrive GOconnector port, should have the same port number given in redirect url
api_urlOneDrive API url
default: https://api.onedrive.com/v1.0/