How to control messages from the command line
OverviewThe command line tool "VISULOX admin message" allows to control messages. |
Usage
The following subcommands are available:
| Command | Description |
|---|---|
| list | List and print messages. |
| add | Add a message. |
| edit | Modify fields of a message. |
| delete | Remove a message. |
| categories | Show all available message categories |
| fields | List available database fields (-raw = enhanced output) |
Message elements (edit)
| Element | Description |
|---|---|
| -name <> | Name of the message or use AUTO <> (mandatory) |
| -category <> | Message category <> (mandatory!) |
| -content <> | Content of the message <> |
| -grant <> | Set granted user in database record <> |
Examples
List current available messages
CODE
visulox admin message list
----------------------------------------
| basicname | category |
----------------------------------------
| Downtime | info |
| Meeting | info |
| Welcome | info |
| Session checked | annotation |
| Film checked | annotation |
| Session marked | annotation |
| Shutdown | message |
| Session termination | sessionend |
| Spontan Access | spontanaccess |
| Preventive lock | sessionlock |
| Locked by supervisor | sessionlock |
| Close application | message |
| Unknown content | ftreject |
| Rejected by project | ftreject |
| Change management | ftapproved |
| Support file | ftapproved |
| Bug checkout | checkout |
| Training checkout | checkout |
----------------------------------------
Add new message
CODE
visulox admin message add -name Test -category info -content "Adding a new test message"
Edit message
CODE
visulox admin action edit -name Test -grant Supervisor
Display available categories
CODE
visulox admin message categories
info,message,annotation,ftapproved,ftreject,sessionend,sessionlock,sessionrecmanually,checkout,spontanaccess
Remove an entry
CODE
visulox admin message delete -name Test