Automating visitor access and check-in using a macro

2024-12-04Last updated

You can configure a Security Center macro to automatically check in and grant access to visitors at specified parking entrances or gated facilities. The macro can be used for visitors who need access to a parking entrance or gated facility before they can check in or at locations without self-service kiosks.

Before you begin

What you should know

This macro is only for use when sites want to use a QR code as a credential to automate visitor check-in. The macro can grant access for a specified parking entrance or gated facility automatically before visitor check-in.
A visitor in a vehicle arriving for check-in at a gated facility parking entrance.
Important: This procedure is only compatible with Security Center 5.8 and later.

Procedure

  1. From the Config Tool homepage, open the System task and click the Macros view.
  2. Click Macro (), and enter the macro name.
  3. Click the Properties tab, and do one of the following:
    • Cut and paste the Macro file code into the Macro definition (C#) section in the Properties tab.
    • Import the source code from a file by clicking Import from file, select the file containing the C# code, and then click Open.
  4. Click the Default execution context tab, and configure the settings as follows:
    System task in Config Tool showing the Macros view with the Default execution context tab selected.
    Note: The door selected in the Default execution context relates to a specific parking entrance or gated facility entrance. When a visitor presents their QR code, the macro is triggered to automatically provide access for this door only.
  5. Click Apply.
  6. Click Run macros.
  7. From the Config Tool homepage, open the System task and click the Scheduled tasks view.
    1. Click Scheduled task (), and enter the scheduled task's name.
    2. Configure the Properties tab as follows:
      System task in Config Tool showing the Scheduled tasks view with the Properties tab selected.
    3. (Optional) In the Context section, click Override hyperlink to change the macro's execution context:
      Macro's execution context dialog in Scheduled tasks view of Config Tool showing macro execution settings.
The Security Center macro is now configured. It can trigger automatic check-in and grant access to specific parking entrances or gated facilities when the relevant QR code is scanned at the entrance.