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.
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.
Important: This procedure is only compatible with Security Center 5.8
and later.
Procedure
From the Config Tool homepage,
open the System task and click the
Macros view.
Click Macro (), and enter the macro name.
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.
Click the Default execution context tab, and configure
the settings as follows:
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.
Click Apply.
Click Run macros.
From the Config Tool homepage,
open the System task and click the Scheduled
tasks
view.
Click Scheduled task (), and enter the scheduled
task's name.
Configure the Properties tab as follows:
(Optional) In the Context section, click
Override hyperlink to change the macro's
execution context:
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.