Previous Topic: Individual Import OperationsNext Topic: Scheduling Remote CMS Import Jobs


Continuous Import Operations

When you install Event Import, the wgnimpsv.exe service is installed automatically. You can use this service for continuous import operations. But first you must configure the service by creating and editing a configuration file, import.ini. In detail:

  1. Create a configuration file, import.ini

    Wgnimpsv.exe requires a configuration file containing the import parameters. You must name this configuration file ‘import.ini’ and save it in the same folder as wgnimpsv.exe. It can contain any of the import parameters available for wgnimp.exe.

  2. Specify the continuous import parameter: In addition to the usual parameters, import.ini must also include a parameter to specify continual importing. Add the line:
    File.ContinuousInput=yes
    

    Note: Even if you have changed wgnimpsv.exe from a ‘Manual’ to an ‘Automatic’ startup service, you must still add this line to import.ini to prevent the service stopping prematurely.

  3. Securely cache the CMS logon credentials

    When you run Event Import, you must log on to the CMS as a CA DataMinder administrator. So that you do not need to store the CMS credentials in import.ini (which would represent a security loophole), you can configure wgnimpsv.exe to securely cache the credentials itself. To do this, use the following command line syntax to open a new command window where you can enter a valid user name and password:

    wgnimpsv -setcredentials
    

    Note: The corresponding parameters for setting these credentials in import.ini are Engine.BulkImportUsername and Engine.BulkImportUserpasswd

    If you subsequently need to reset the CMS logon credentials, you can do so by running the following command:

    wgnimpsv -clearcredentials
    
  4. Configure the wgnimpsv.exe service

    By default, the Event Import service installs as a ‘Manual’ startup type. You must change this to ‘Automatic’ startup type as soon as you have created your import.ini configuration file.

    If necessary, change the service logon properties to reflect the requirements on Wgnimpsv.exe and continuous importing.

  5. Begin the import operation

    To do this, simply restart wgnimpsv.exe.

    Note: After wgnimpsv.exe has started, any subsequent changes to import.ini will only take effect after you restart the service.

More information:

Wgnimpsv.exe and Continuous Importing