Installing the Hotlist Permit File Updater plugin - Security Center 5.9

Security Center Administrator Guide 5.9

Applies to
Security Center 5.9
Last updated
Content type
Guides > Administrator guides
Security Center

For AutoVu™ Managed Services (AMS) systems that are hosted on Microsoft’s Azure cloud platform, installing the Hotlist Permit File Updater plugin lets you push updated hotlists and permits to the cloud where they can then be downloaded on patrol vehicles.

What you should know

AMS allows you to quickly deploy an automatic license plate recognition (ALPR) system by reducing the need for on-site IT infrastructure and support. With AMS, your ALPR system is hosted in the cloud and experts from Genetec Inc. configure and maintain it.


  1. Download the Hotlist Permit Updater package, which is available at
  2. To install the plugin, open the Hotlist Permit Updater package and double click the Genetec.CS.HotListPermitFileUpdater.Setup MSI file and follow the instructions in the installer.
  3. Restart the Security Center Directory role, as follows:
    1. From a web browser, open Server Admin typing http://<server>/genetec.
    2. Click Directory and select Restart.
    3. After the Directory restarts, close Server Admin.
  4. Create the required custom events.
    1. From the Config Tool, open the System task, click the General settings view, and click the Events page.
    2. Click Add an item ().
    3. In the Create custom event dialog box, enter the Name Hotlist transfer success.
    4. From the Entity type drop-down list, select Role.
    5. In the Value field, type a unique number to identify this custom event from other custom events.
      NOTE: These values are not related to the logical IDs of entities.
    6. Click Save > Apply.
    7. Using these steps, create two additional events:
      • Hotlist transfer failure
      • Hotlist start transfer trigger
  5. Install the Raise custom event macro so that Security Center can trigger the custom events.
    1. From the Config Tool home page, open the System task, and click the Macros view.
    2. Click Macro (), and name the new macro Raise custom event.
    3. Click the Properties tab.
    4. Click Import from file, navigate to the RaiseCustomEventMacro TXT file that is included in the package, and click Open.
    The TXT file contains the following script:
    // ==========================================================================
    // Copyright (C) 2013 by Genetec, Inc.
    // All rights reserved.
    // May be used only in accordance with a valid Source Code License Agreement.
    // ==========================================================================
    using Genetec.Sdk;
    using Genetec.Sdk.Entities;
    using Genetec.Sdk.Entities.CustomEvents;
    using Genetec.Sdk.Queries;
    using Genetec.Sdk.Scripting;
    using Genetec.Sdk.Diagnostics.Logging.Core;
    using System;
    using System.Collections.Generic;
    using System.Data;
    using System.IO.Ports;
    using System.Linq;
    using System.Text;
    using System.Threading;
    namespace RaiseCustomEvent
        public class RaiseCustomEvent : UserMacro
            public int CustomEventId { get; set; }
            public RaiseCustomEvent()
                CustomEventId = 0;
            public override void Execute()
                    if (CustomEventId > 0)
                        Sdk.ActionManager.RaiseCustomEvent(new CustomEventId(CustomEventId),
                catch (Exception)
            protected override void CleanUp()
    1. Click Apply to save the macro.
    2. Click the Default execution context tab.
    3. In the Custom event ID field, enter the Value that you configured for the Hotlist start transfer trigger event.
    4. Click Apply.
  6. Create a scheduled task to start the file transfer.
    1. From the Config Tool home page, open the System task, and click the Scheduled tasks view.
    2. Click Scheduled task ().
      A new scheduled task entity is added in the entity list.
    3. Name the task Trigger hotlist update.
    4. Click the Properties tab, and set the Status option to Active.
    5. Set the Recurrence of the task, for example, daily at 8:00 AM.
    6. From the Actions list, select Run a macro.
    7. From the Macro list, select the Raise custom event macro you created.
    8. Click Apply.
  7. Install the Hotlist permit file updater macro.
    1. From the Config Tool home page, open the Plugins task.
    2. Click Add an entity () and select Plugin.
    3. From the Creating a role wizard, install the Hotlist Permit File Updater plugin.
    4. The Hotlist Permit File Updater is added to the plugins list. Select it and click the Properties tab.
    5. Configure the plugin to use the HTTP, FTP, or SFTP transfer method

      HTTP or FTP:

      • Enter the remote URL where the file to download is located. Enter the credentials if needed. If the source is not secured using a username and password, leave the fields blank.


      • Host: Enter the host using the following formatting:
        • sftp://(hostname or IP):(port)
        • sftp://(hostname or IP) If you do not specify a port, the default port 22 is used.
        • (hostname or IP) If you do not specify a protocol, the host name uses SFTP.
      • File path: Enter the file path of the hotlist or permit.
        NOTE: The file path is relative to the home directory of the connected user on the SFTP server.
      • Connection mode: Select the connection mode according to the SFTP site configuration and enter the Username, Password, and Certificate path according to your selection.
        • The certificate must be located on the server on which the plugin is running and not the computer on which Config Tool is used.
        • The path must also reflect the location of the file on the server.
        • The certificate file should contain a private key in an OpenSSH format.
        • SSH-2 keys are supported. SSH-1 keys are unsafe and are not supported by the OpesSSh format.
    6. From the Hotlist/Permit list, select the hotlist or permit you want to push to the patrol vehicles.
    7. From the Success event list, select the Hotlist transfer success event you created.
    8. From the Fail event list, select the Hotlist transfer failure event you created.
    9. From the Schedule event list, select the Hotlist start transfer trigger you created.
    10. If you select Keep backups, the system creates a backup of the current hotlist or permit file before downloading the new one. The file name uses the original name + the current date and time + the .bak extension, for example, hotlist2.tbl hotlist2.tbl 11-22-2017 11h10m55.bak.
      NOTE: To trigger the download immediately, click Manually download.
    11. Click Apply.