Open topic with navigation

# Retrieve Information from Salesforce Chatter

To retrieve information from Salesforce Chatter, create a new fetch task by following these steps. The connector runs fetch tasks automatically, based on the schedule that is configured in the configuration file.

NOTE:

Before configuring a fetch task, you must create a Salesforce Chatter application to represent the connector and set up OAuth authentication. For more information, see Create an Application to Represent the Connector and Configure OAuth Authentication.

To create a new Fetch Task

1. Stop the connector.
2. Open the configuration file in a text editor.

3. In the `[FetchTasks]` section of the configuration file, specify the number of fetch tasks using the `Number` parameter. If you are configuring the first fetch task, type `Number=1`. If one or more fetch tasks have already been configured, increase the value of the `Number` parameter by one (1). Below the `Number` parameter, specify the names of the fetch tasks, starting from zero (0). For example:

       [FetchTasks]
       Number=1
       0=MyTask

4. Below the `[FetchTasks]` section, create a new TaskName section. The name of the section must match the name of the new fetch task. For example:

       [FetchTasks]
       Number=1
       0=MyTask

       [MyTask]

1. Ensure that the relevant OAuth parameters are included in the configuration file. For example, the following line imports the relevant parameters from a file named `oauth.cfg`. This file is generated by the OAuth configuration tool that is supplied with the connector.

       [MyTask] < "oauth.cfg" [OAUTH]

   For information about importing parameters into a configuration file, see Include an External Configuration File.

2. In the new section, set all of the following parameters:

   `ServerInstance` | The base URL of the Salesforce instance to connect to, for example `https://eu2.salesforce.com/`
   `Username` | The user name of the user account that you want to index, for example `user@domain.com`.

3. Save and close the configuration file.

© 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