Копировать ссылку на страницу Перейти в предыдущий раздел Перейти в следующий раздел

Вся настройка службы ввода документов выполняется в конфигурационном файле CaptureService.exe.config.

Структура файла:

 
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
  <section name ="systemLanguage" type="Directum.Dcs.Library.LanguageSection, Directum.Dcs.Library"/>
  <sectionGroup name="Dcs">
    <section name="CaptureServices" type="Directum.Dcs.Capture.CaptureServiceConfigurationSection, CaptureService" />
    <section name="Mail" type="Directum.Dcs.Capture.MailCapture.MailCaptureConfigurationSection, Directum.Dcs.MailCapture" />
    <section name="FileSystem" type="Directum.Dcs.Capture.FileSystemCapture.FileSystemCaptureConfigurationSection, Directum.Dcs.FileSystemCapture" />
    <section name="Lines" type="Directum.Dcs.Capture.Lines.LineConfigurationSection, Directum.Dcs.Lines" />
    <sectionGroup name="Senders">
      <section name="ProgramSender" type="Directum.Dcs.Capture.Senders.ProgramSender.ProgramSenderFactorySettings, Directum.Dcs.ProgramSender" />
      <section name="ISBuilderSender" type="Directum.Dcs.Capture.Senders.ISBuilderSender.ISBuilderSenderFactorySettings, Directum.Dcs.ISBuilderSender" />
      <section name="EventProcessingSender" type="Directum.Dcs.Capture.Senders.EventProcessingSender.EventProcessingSenderFactorySettings, Directum.Dcs.EventProcessingSender" />
    </sectionGroup>
    <sectionGroup name="Packers">
      <section name="BasePacker" type="Directum.Dcs.Capture.Packers.StandardPackers.BasePacker.BasePackerFactorySettings, Directum.Dcs.StandardPackers" />
      <section name="ImagePacker" type="Directum.Dcs.Capture.Packers.StandardPackers.ImagePacker.ImagePackerFactorySettings, Directum.Dcs.StandardPackers" />
    </sectionGroup>
  </sectionGroup>
  <sectionGroup name="common">
    <section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" />
  </sectionGroup>
</configSections>
<common>
  <logging>
    <factoryAdapter type="Directum.Dcs.Logging.LoggerFactoryAdapter, Directum.Dcs.Logging">
      <arg key="throwConfigExceptions" value="False" />
      <arg key="configType" value="FILE" />
      <arg key="configFile" value="~\NLog.config" />
    </factoryAdapter>
  </logging>
</common>
<systemLanguage language="ru-Ru"/>
 
<appSettings>
  <add key="logsFolder" value="C:\DCS\Logs" />
</appSettings>
<Dcs>
  <CaptureServices>
    <clear />
    <add Name="Capture mail from inbox"
      Type="Directum.Dcs.Capture.MailCapture.MailCaptureService, Directum.Dcs.MailCapture" />
    <add Name="Capture from file system"
      Type="Directum.Dcs.Capture.FileSystemCapture.FileSystemCaptureService, Directum.Dcs.FileSystemCapture" />
  </CaptureServices>
 
  <FileSystem SenderLine="FileCaptureLine" CaptureLegacyFiles="True" >
    <clear />
   {Настройки модуля ввода из файловой системы}
  </FileSystem>
  <Mail SenderLine="MailCaptureLine" >
    <clear />
   {Настройки модуля ввода с электронной почты}
  </Mail>
  <Lines>
    <clear/>
   {Настройки линий}
  </Lines>
  <Packers>
   {Настройки модуля упаковки}
  </Packers>
  <Senders>
   {Настройки модуля отправки в Directum, в произвольную систему}
  </Senders>
</Dcs>
<startup>
  <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
</startup>
</configuration>

© Компания Directum, 2020 Сообщество пользователей Directum
.navbar > a:hover { background: #FFD73B; }