SharePoint 2013 Connector

Configuring SearchBlox

Before using the SharePoint 2013 Connector, install SearchBlox successfully, then create a Custom Collection.

Configuring SharePoint 2013 Connector

Prerequisites

  • All the files related to the connector should be available in the same folder that is, all files should be extracted into the same folder.
  • Create a data folder on your drive where the files would be temporarily stored and mention in yml files.

Please contact [email protected] to request the download link for SearchBlox SharePoint 2013 connector.

Steps to Configure and Run SharePoint 2013 Connector

In Windows, the files related to connector can be installed in the C:\ drive in Windows

  • Download the SearchBlox Sharepoint 2013 connector. Extract the downloaded zip to a folder.
  • Unzip the archive under *C:*
  • Configure the sharepoint.yml file which includes Sharepoint properties and SearchBlox properties as listed in the following:

username

SharePoint User Name

password

Password

data-directory

Data Folder where the data needs to be stored. Make sure it has write permission.

api-key

SearchBlox API Key

colname

The name of the custom collection in SearchBlox.

url

SearchBlox URL

domain

SharePoint domain URL

include-formats

File formats to include.

exclude-folders

Folders to exclude in Alfresco.

max-folder-size

Maximum size of static folder after which it should be sweeped in MB.

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.

log-file-maxSize, log-file-maxBackups, log-file-maxAge

specified the size, backup and age limit for log files to be deleted

  • The content details of sharepoint.yml are provided here:
#SearchBlox API Key
api-key: 930B1FDD47479694D9B197615FC779E0
#The name of the collection
colname: custom
#The sharepoint username
username: test
#The name of the collection
password: [email protected]
#SearchBlox URL
url: http://localhost:8080/searchblox/rest/v2/api/
#Data Folder where the data needs to be stored Make sure it has write permission
data-directory: C:/sharepointc2013onnector/data
#megabytes after which new file is created
log-file-maxSize: 10
#number of backups after which log file should be deleted
log-file-maxBackups: 10
#Number of days after which log files should be deleted
log-file-maxAge: 30 
#The Excluded folders wont be indexed. Note:no trailing or leading slashes Eg: test/searchblox
exclude-folders: [/Lists/test2,/_vti_pvt,/sharepointtest/Forms,/SiteAssets,/_catalogs]
#sharepoint domain
domain: http://test.site.com
#searchblox servlet url for auto delete functionality
servlet-url: http://localhost:8080/searchblox/servlet/SearchServlet
#searchblox delete api url for auto delete functionality
delete-api-url: http://localhost:8080/searchblox/api/rest/docdelete
#maximum size of static folder aftre which it should be sweeped in MB
max-folder-size: 2
#Only Inlcude formats will be indexed
include-formats: [.pdf,.docx,.aspx,.html,.aspx,.txt,.dotx,docx,.doc]
  • Please make sure to give the API key, collection name, data folder path and SharePoint domain and other related properties.
  • Start running the sharepoint_2013.exe file for Windows

Did this page help you?