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. HPE File System 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. HPE File System 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. HPE File System 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.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE 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 AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm