ClientReportWithAction
This action template allows the user to generate the report and also have the customer sign it (e.g. if the report is an order).
In addition to the input arguments available for the ClientReport action
template, the following arguments can be specified for
ClientReportWithAction
:
Input Argument |
Description |
---|---|
CopySourceFieldGroup |
The field group where the fields you want to copy have been marked accordingly. |
DocumentUploadConfiguration |
Name of a context menu action that calls the
|
SendByEmailAttachementReport |
If set to |
SigningConfiguration |
|
XmlRootElementName |
Name of the XML root element. Data is queried in all branches/knots of this root element. |
AdditionalConfigNames |
A semicolon-separated list of additional Search&List configurations to be applied. |
AdditionalRootNames |
By default, an order summary is available for the quick add. In the
|
ButtonName |
Name of the button allowing the user to sign the document. |
ButtonShowFilter |
Name of the filter defining whether the button given under
|
ButtonPrint |
If set to |
BlockActionsUntilComplete | If set to true , it disables user interaction while
embedding signature in report. |
SigningConfig Input Argument
The SigningConfig
input argument defines that an e-mail can only be
sent after the report was signed by the customer, e.g. an order.
Default:
{}
The following options can be entered in JSON syntax:
-
"
sign
":false:
Defines that no signature is required.Default:
true
-
"
upload
":false:
Defines that the client report is not uploaded to the database. The report is then only attached to the e-mail.Default:
true
-
emptySignatureName
:
A comma-separated list of empty signature images. An empty signature image must be given for each required signature.Default:
Button
:PleaseSign
.
-
signatureImageTagName
:
A comma-separated list of XML tags that references the signature images. A tag must be given for each required signature.Default:
SignatureImage.
-
signatureImageId
: Name of theimg
tag'sid
attribute in the XSL file.Default:
img-signature
-
lineWidth
: Font widthDefault:
3
-
strokeColor:
Font colorDefault:
0;0;1;1
(= blue) -
imageWidth
: Width of the image file containing the signatureDefault:
300
(px) -
signedReportFileName
: Name of the generated PDF fileDefault:
SampleReport.pdf
-
signedReportFileNameDateFormat:
Date format in case a date parameter is appended to the file nameDefault:
yy-mm-dd
-
signatureTitle
:
Name of a field group. This field group's List control is applied and the field containing theSIGNATURETITLES
function name is searched. This function may contain{$var}
placeholders that are replaced according to the givenCopySourceFieldGroupName
argument in theClientReport
action.You can also define that more than one signature must be given. The following example requires two signatures:
{"emptySignatureName":"Button:PleaseSign;Button:PleaseSign2","signatureImageTagName":"SignatureImage;SignatureImage2","sign": true, "upload": true}