Notes Connector 12.13

# Create a New Fetch Task

To automatically retrieve content from a repository, create a new connector job (a Fetch Task) by following these steps. The connector runs each fetch task automatically, based on the schedule that is configured 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 to define the location of the repository and the credentials used to access the repository.

   `NotesServer` | The host name or IP address of the repository.
   `UserIdFile` | The user ID file to use to access the repository.
   `IdFilePassword` | The password to use with the ID file.

   For example:

       [MyTask]
       NotesServer=MyNotesServer.domain.com
       UserIdFile=c:\autonomy\NotesConnector\admin.id
       IdFilePassword=837oiWER

2. Specify content that you want to retrieve.

   - To retrieve content from a single database, set the `NotesDB` parameter. For example:

         [MyTask]
         NotesServer=MyNotesServer.domain.com
         UserIdFile=c:\autonomy\NotesConnector\admin.id
         IdFilePassword=837oiWER
         NotesDB=.\data\mail\user.nsf

   - To retrieve content from all of the databases in a folder, use the `NotesDbDirectory` parameter to specify the folder. You can then use the `DatabaseNameMatch` parameter to choose the exact databases that are retrieved (using a regular expression). For example:

         [MyTask]
         NotesServer=MyNotesServer.domain.com
         UserIdFile=c:\autonomy\NotesConnector\admin.id
         IdFilePassword=837oiWER
         NotesDbDirectory=.\databases\
         DatabaseNameMatch=.*

3. (Optional) Set either the `NotesView` or `ViewFormula` parameter to specify the database view to use to retrieve data. For example:

       [MyTask]
       NotesServer=MyNotesServer.domain.com
       UserIdFile=c:\autonomy\NotesConnector\admin.id
       IdFilePassword=837oiWER
       NotesDB=.\data\mail\user.nsf
       NotesView=Index

4. Save and close the configuration file. You can now start the connector.

   NOTE: The connector saves or updates a data file for each completed fetch task. If you make changes to the configuration and want to reset the connector so that it retrieves all of your files again, you can use the `PurgeDatastore` action.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Notes Connector 12.13

Topic Title: Create a New Fetch Task