... | ... | @@ -53,7 +53,42 @@ These options are available only the graphical user interface application. |
|
|
|
|
|
This options was added in Datovka 4.11.
|
|
|
|
|
|
The option takes an argument string. When invoking the application with this option the application raises the send message dialogue window and fills in the data supplied via the argument.
|
|
|
The option takes a single argument string containing value assignments to the following keys:
|
|
|
|
|
|
* *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.
|
|
|
* *dmAnnotation* - Message subject string. Maximal length is 255 characters.
|
|
|
* *dmToHands* - Name of preferred recipient person in recipient organisation. Maximal length is 50 characters.
|
|
|
* *dmRecipientRefNumber* - Czech: číslo jednací příjemce. Maximal length is 50 characters.
|
|
|
* *dmSenderRefNumber* - Czech: číslo jednací odesílatele. Maximal length is 50 characters.
|
|
|
* *dmRecipientIdent* - Czech: spisová značka příjemce. Maximal length is 50 characters.
|
|
|
* *dmSenderIdent* - Czech: spisová značka odesílatele. Maximal length is 50 characters.
|
|
|
* *dmLegalTitleLaw* - Number of act mandating authority. Maximal length is 4 characters.
|
|
|
* *dmLegalTitleYear* - Year of act issue mandating authority. Maximal length is 4 characters.
|
|
|
* *dmLegalTitleSect* - Section of act mandating authority (Czech: paragraf). Maximal length is 10 characters.
|
|
|
* *dmLegalTitlePar* - Paragraph of act mandating authority (Czech: odstavec). Maximal length is 10 characters.
|
|
|
* *dmLegalTitlePoint* - Point of act mandating authority (písmeno). Required length is 1 character.
|
|
|
* *dmPersonalDelivery* - If true, only person with higher privileges can read this message. Accepted values: {0,1}.
|
|
|
* *dmAllowSubstDelivery* - Allow delivery through fiction. Accepted values: {0,1}.
|
|
|
* *dmPublishOwnID* - Allow sender to express his name shall be available to recipient. Accepted values: {0,1}.
|
|
|
* *dmAttachment* - Full path to target files separated by semicolons. NOTE: The semicolon character ';' is not allowed in a legal attachment path or file name.
|
|
|
|
|
|
The values to the specified keys are assigned using the following syntax: `key1='val1',key2='val2',...,keyn='valn'`. The assignments are separated using a comma (`,`) character. Each assignment is specified by a substring `key='val'`. (The quotation marks around the `val` statement are mandatory.)
|
|
|
|
|
|
The `val` statement may consist of a list of values. In such the entries are separated by a semicolon (`;`).
|
|
|
|
|
|
The command
|
|
|
|
|
|
```shell
|
|
|
./datovka --compose "dbIDRecipient='a5s8ee1',dmAnnotation='Test message',dmPersonalDelivery='1',dmAttachment='/tmp/xsda558/request.pdf;/tmp/xsda558/explanation.pdf'"
|
|
|
````
|
|
|
|
|
|
will raise the send message dialogue window and will fill in the annotation, the recipient and will add the two attachment files (if they are found in the specified locations) in the same sequence as they have been specified.
|
|
|
|
|
|
If you just want to raise the send message dialogue window and pass a single file you then the following command is fully sufficient:
|
|
|
|
|
|
```shell
|
|
|
./datovka --compose "dmAttachment='/tmp/xsda558/request.pdf'"
|
|
|
```
|
|
|
|
|
|
## Command-line only options - databox/message operations
|
|
|
|
... | ... | |