Skip to main content
Skip table of contents

How to control action scripts from the command line

Overview

The command line tool "VISULOX admin action" allows to control action scripts.

Usage


The following subcommands are available:

CommandDescription
listList and print action scripts.
addAdd an action script.
editModify fields of an action script.
deleteRemove an action script.
categoriesShow all available action script categories
fieldsList available database fields (-raw = enhanced output)

Action script elements (edit)


ElementDescription
-name <>Name of the action script <> (mandatory!)
-category <>Textblock category <> (mandatory!)
-comment <>Comment of the action script <>

-scriptfile <>

Action script from file <> (mandatory!)
-grant <>

Set granted user in database record <>


Examples


List current available action scripts

CODE
visulox admin action list
    ----------------------------------------------
    |                    basicname |    category |
    ----------------------------------------------
    |                    PINScript |         pin |
    |                  LoginScript |       login |
    |        Generic Access Script |      access |
    |   Generic Application Script | application |
    |         Generic NotifyScript |           * |
    | Generic Transit Notification | transitzone |
    |                         Dump |           * |
    ----------------------------------------------

Add new action script

CODE
visulox admin action add -name Test -category login -scriptfile testfile

Edit action script

CODE
visulox admin action edit -name Test -comment "Using test script testfile"

Display available categories

CODE
visulox admin action categories
login,access,application,pin,transitzone,commandconnect,report,*

Remove an entry

CODE
visulox admin action delete -name Test




JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.