This chapter describes how to install the MarkLogic Connector for SharePoint. The MarkLogic Connector for SharePoint installation procedure involves installing the connector in SharePoint and installing some XQuery modules in an instance of MarkLogic Server. The following sections are included:
You can download the latest MarkLogic Connector for SharePoint installation package from developer.marklogic.com. The installation package is a zip file containing the following:
Modules
directory) to be installed on each instance of MarkLogic Server to which the MarkLogic Connector for SharePoint will communicate..wsp
file in the SharePoint
directory)..dll
files in the SharePoint
directory).mlcadm.exe
file in the SharePoint
directory).There are two main parts to the installation process: installing the MarkLogic Connector for SharePoint and copying the MarkLogic Server XQuery files to each instance of MarkLogic Server to which the connector will communicate. For information about system requirements, see System Requirements.
On the machine in which SharePoint is installed, perform the following steps. You need administrative privileges to SharePoint to perform these steps.
MarkLogicConnector.wsp
file from the SharePoint
directory of MarkLogic Connector for SharePoint zip file and store it in a known disk location.stsadm.exe
) on your search path, you can add the solution to SharePoint with the following command:C:\> stsadm -o addsolution -filename <path>\MarkLogicConnector.wsp
where <path> is the path to the MarkLogicConnector.wsp
file. The stsadm
utility will respond with operation completed successfully after a successful installation.
The release includes a command-line MarkLogic Connector for SharePoint utility called mlcadm.exe
, distributed in the SharePoint
folder of the zip installation package. This utility is optional. If you plan on using it, copy the mlcadm.exe
file to a directory on your search path. For details about using this utility, see mlcadm Command Line Utility.
Perform the following steps to install the XQuery files used by the MarkLogic Connector for SharePoint on MarkLogic Server. These steps should be repeated for each node in your MarkLogic Server cluster that communicates with the MarkLogic Connector for SharePoint. In order to install the XQuery modules on the machine in which MarkLogic Server is installed, you will need permissions to write to the directory in which MarkLogic Server is installed.
SharePoint
under marklogic-dir/Modules/MarkLogic
, where marklogic-dir is the directory in which MarkLogic Server is installed. For example, on Linux systems, enter commands similar to the following:% cd /opt/MarkLogic/Modules/MarkLogic % mkdir SharePoint
Modules/MarkLogic/SharePoint
directory in the MarkLogic Server installation directory. For example, on Linux systems, enter commands similar to the following (assuming the installation package is unzipped into the /tmp
directory):% cd /tmp/SharePointConnector-1.1-1/Modules % cp *.xqy /opt/MarkLogic/Modules/MarkLogic/SharePoint
The MarkLogic Connector for SharePoint XQuery modules should now be under the marklogic-dir/Modules/MarkLogic/SharePoint
directory.
Modules/MarkLogic/SharePoint
. Set authentication to basic
. If you have a cluster of several MarkLogic Server instances, you only need to create the XDBC Server in one of them (because it will be available to every node in the group in which it is created).
You can now connect to this XDBC Server from the MarkLogic Connector for SharePoint.
Once you have installed the connector components in Microsoft SharePoint and in MarkLogic Server, you must configure the MarkLogic Connector for SharePoint to point to your MarkLogic Server XDBC Server.
MarkLogic Connector for SharePoint operates with Windows SharePoint Services 3.0 and SharePoint Foundation 2010. The configuration procedure is slightly different for each version. The following sections describe the configuration procedure for both versions of SharePoint:
To configure Windows SharePoint Services 3.0, perform the following steps.
marklogicconnector.wsp
in the name column. Click this name. The page should revert to the Solution Management page with the marklogicconnector.wsp
Status set to Deployed.
The status of the Mark Logic Connector will change to Active.
Status: Server xcc://user:pass@host:123/sharepoint has been configured. Version: 1.1-1
The MarkLogic Connector for SharePoint is now ready, and any SharePoint documents or document libraries that you have set up for mirroring are automatically mirrored in MarkLogic Server.
If you mirror a directory containing many documents, enable document mirroring for your document library after saving your docs to the document library to SharePoint. This is to improve the performance of load times. If you attempt to save a large number of docs to a document library with mirroring already enabled, the load will be slow.
To configure SharePoint Foundation 2010, perform the following steps.
marklogicconnector.wsp
in the name column. Click this name. The page should revert to the Solution Management page with the marklogicconnector.wsp
Status set to Deployed.
The status of the Mark Logic Connector will change to Active.
Status: Server xcc://user:pass@host:123/sharepoint has been configured. Version: 1.1-1
The MarkLogic Connector for SharePoint is now ready, and any SharePoint documents or document libraries that you have set up for mirroring are automatically mirrored in MarkLogic Server.
If you mirror a directory containing many documents, enable document mirroring for your document library after saving your docs to the document library to SharePoint. This is to improve the performance of load times. If you attempt to save a large number of docs to a document library with mirroring already enabled, the load will be slow.
MarkLogic Connector for SharePoint operates with Windows SharePoint Services 3.0 and SharePoint Foundation 2010. The uninstall procedure is slightly different for each version. The following sections describe the uninstall procedure for both versions of SharePoint:
Perform the following steps to uninstall the MarkLogic Connector for SharePoint from your Microsoft SharePoint Services 3.0 installation. You need administrative privileges to SharePoint to perform these steps.
The Active status box next to Mark Logic Connector will disappear.
MarkLogicConnector
solution by clicking the marklogicconnector.wsp
link. marklogicconnector.wsp
shows a status of Not Deployed. Perform the following steps to uninstall the MarkLogic Connector for SharePoint from your SharePoint Foundation 2010 installation. You need administrative privileges to SharePoint to perform these steps.
The Active status box next to Mark Logic Connector will disappear.
marklogicconnector.wsp
in the name column. Click this name. marklogicconnector.wsp
shows a status of Not Deployed.