Open topic with navigation

# Prepare Haven OnDemand

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. IBM Content Manager 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. IBM Content Manager 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. IBM Content Manager 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.

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm