Before you can send documents to Haven OnDemand, you must create a text index. For information about how to create text indexes, refer to the Haven OnDemand documentation.
Before you can send documents to a Haven OnDemand combination endpoint, the combination must exist. SharePoint OData Connector requires your combination to accept the following input parameters, and produce the following output.
Input Parameters
Name | Type | Description |
---|---|---|
json
|
any | A JSON object that contains a single attribute 'documents' that is an array of document objects. |
index
|
string | The name of the text index that you want the combination to add documents to. SharePoint OData Connector uses the value of the parameter HavenOnDemandIndexName to set this value. |
duplicate_mode
|
string | Specifies how to handle duplicates when adding documents to the text index. SharePoint OData Connector uses the value of the parameter HavenOnDemandDuplicateMode to set this value. |
Output
Name | Type | Description |
---|---|---|
result
|
any | The result of the call to AddToTextIndex made by the combination. |
|