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}