# Retrieve Information from FileNetP8

To retrieve content from a FileNetP8 repository, create a new fetch task by following these steps. The connector runs fetch tasks automatically, based on the schedule that is defined in the configuration file.

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. In the new section, set the following parameters:

   `FileNetP8Url` | The uniform resource locator (URL) to the FileNetP8 Content Engine server.
   `UserName` | The user name for the connector to use to access the FileNet P8 server.
   `Password` | The password that grants the user specified by UserName access to the FileNet P8 server. For information about how to encrypt the password before entering it into the configuration file, see Encrypt Passwords.
   `FileNetP8WebServer` | The name of the server from which you want to aggregate content. This is used to create document references.
   `FileNetP8WebPort` | The port of the server that accepts requests. This is used to create document references.
   `FileNetP8WebDirectory` | The directory where the FileNetP8 folders reside. This is used to create document references.

   For example:

       [MyTask]
       FileNetP8Url=http://server:9080/wsi/FNCEWS40DIME
       UserName=user
       Password=pass
       FileNetP8WebServer=FileNet
       FileNetP8WebPort=80
       FileNetP8WebDirectory=Workplace

2. (Optional) You can set additional configuration parameters to choose the information to retrieve. For more information about the parameters that you can use, refer to the FileNet P8 Connector Reference.
3. Save and close the configuration file.

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

_FT_HTML5_bannerTitle.htm