Skip to main content
Mitratech Success Center

Client Support Center

Need help? Click a product group below to select your application and get access to knowledge articles, webinars, training content, and release notes or to contact our support team.

Authorized users - log in to create a ticket, view tickets status and check your success plan details.

 

Using a UNC Path for a Watched Folder

In this article you will see how to use a UNC path for a Watched Folder.
If a UNC path is required in the configuration of a Watched Folder, it can be configured by editing the Service config file. Make sure you have a Base Watched Folder configured, so you can copy the section. See “Automated Indexing Options” on page 202 for an example.
  1. Edit the file HitecLabs.DataStore.DataStoreService.exe.Config.
  2. Locate the section <WatchedbaseDirectories>. Copy the section defining the Base Watched Folder and paste it after the line
    </WatchedDirectories>.
        <WatchedBaseDirectories>
           <WatchedBaseDirectory BaseDirectory="C:\Watched Folders">
       <WatchedDirectories>
      <WatchedDirectory watchedDirectoryId="f9dc31ee-71ab-4463-afa1- 94b4433ffb4e"
    f5eeba2947b6"
                 commitMethod="Bulk" dataDefinitionId="3d18ef8c-17d0-4966-acd4-
          enabled="false" name="PDF Bank Statement" filePattern="*.pdf" flagFileName="" delimiter="Unspecified"             suppressIvms="false" suppressZeroByteFiles="false" />
    </WatchedDirectories>
  3. Edit the line <WatchedBaseDirectory BaseDirectory="C:\Watched Folders">, replacing C:\Watched Folders with the UNC path. For example
          \\mymachine\Watched Folders.
    <WatchedBaseDirectory BaseDirectory="\\mymachine\Watched Folders">
  4. In the line enabled="false" name="PDF Bank Statement" filePattern="*.pdf", change name=”PDF Bank Statement” to the name of the folder in the specified Base Watched Folder.
  5. Save the file HitecLabs.DataStore.DataStoreService.exe.Config.
  6. Restart the DataStoreDSX Service and open Management Studio.
  7. Select Automated Indexing Options from the tree view. The changes made to the config file are displayed in the Base Folders section. Edit the file pattern and the Enabled settings, as required. Save the changes.
    image
  • Was this article helpful?