... | ... | @@ -62,9 +62,9 @@ Of course, the records management service application could ask the user to dire |
|
|
|
|
|
**Implemented in a testing branch.**
|
|
|
|
|
|
A development version of Datovka supports the `--compose` command-line option. The option is similar to the already present --send-msg` [CLI](cli) option. Most of the arguments are similar.
|
|
|
A development version of Datovka supports the `--compose` command-line option. The option is similar to the already present `--send-msg` [CLI](cli) option. Most of the arguments are similar.
|
|
|
|
|
|
> The `--compose` command-line option is available only for the GUI application because it raises the send message dialogue window. On windows we are also ditributing separate CLI applications **datovka-cli.exe** and **datovka-cli-portable.exe** because of various issues with the usage of command line and GUI application on Windows. These specialised CLI applications won't support the `--compose` command-line option.
|
|
|
> The `--compose` command-line option is available only for the GUI application because it raises the send message dialogue window. On windows we are also distributing separate CLI applications **datovka-cli.exe** and **datovka-cli-portable.exe** because of various issues with the usage of the command line and GUI application on Windows. These specialised CLI applications don't and won't support the `--compose` command-line option.
|
|
|
|
|
|
**--compose**
|
|
|
* *dbIDRecipient* - List of recipient data-box identifiers separated by semicolons. The length of the box identifiers is 7 characters. At least one must be specified.
|
... | ... | @@ -90,8 +90,9 @@ The records management service application will write files in a usual temporary |
|
|
|
|
|
### Handling the Open Dialogue Request in Datovka
|
|
|
|
|
|
Calling Datovka with `--dlg-send-msg` option will:
|
|
|
1. If Datovka is already running then all required data are passed to the main Datovka process. The main process will collect the data and signal back any potential error to the signaling process. The command with `--dlg-send-msg` will terminate before actual sending of the data message.
|
|
|
Calling Datovka with `--compose` option will:
|
|
|
1. When Datovka is already running then all required data are passed to the main Datovka process.
|
|
|
1a. The invoked Datovka process will check the supplied arguments for basic sanity and if no errors (e.g. unknown arguments) are detected then all data are going to be passed to the already running Datovka process. The main process will collect the data and notify the user about any potential error (e.g. non-existent file). The command with `--compose` will terminate before actual sending of the data message.
|
|
|
2. The command with `--dlg-send-msg` will start the Datovka application when it has not been running. In this case it is perhaps better to create a new main process and pass the data in a same way as in the first case. This will allow the user to lave Datovka running after the message has been sent instead of terminating the whole application.
|
|
|
|
|
|
**Question for Singlecase:** Would you prefer a blocking send message operation in GUI? This means that the application in the second case would block the command line `--dlg-send-msg` command until the message has been sent and the invoked Datovka process has been terminated.
|
... | ... | |