Skip to content

Commit

Permalink
Adapt document
Browse files Browse the repository at this point in the history
  • Loading branch information
nqhoan-axonivy committed Aug 29, 2024
1 parent 90d6aa8 commit 9443969
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,25 +84,20 @@
"\tsignatureJob.taskId = ivy.task.getId(); // Current request task id",
"\tsignatureJob.documentName; // Document name",
"\tsignatureJob.callbackUrlAfterSignature; // Call back url after signature, if leave with empty, the default callback url will be called",
"\tin.signatureJob.signDocument.document = file; // Document in File format",
"\tin.signatureJob.signDocument.location = \"Austria\"; // User location",
"\tin.signatureJob.signDocument.reason = \"Sign new doc\"; // Reason for this sign session",
"\tin.signatureJob.signDocument.page = \"1\"; // Number of page where stamp will be sign on",
"\tin.signatureJob.signDocument.x = \"30.7\"; // example for postion of stamp",
"\tin.signatureJob.signDocument.y = \"60.2\"; // example for postion of stamp",
"\tin.signatureJob.signDocument.w = \"5.5\"; // example for postion of stamp",
"\tin.signatureJob.location = \"Austria\"; // User location",
"\tin.signatureJob.reason = \"Sign new doc\"; // Reason for this sign session",
"\tin.signatureJob.pdfDocument;",
"\tin.signatureJob.signStampCoordinatesX0",
"\tin.signatureJob.signStampCoordinatesX1",
"\tin.signatureJob.signStampCoordinatesY0",
"\tin.signatureJob.signStampCoordinatesY1 = 14.4; // example for postion of stamp\t",
"\tin.signatureJob.signStampPageNumber;",
"",
"- The return object is SignatureDocumentData.",
"- After success, a document will be added to this case with the prefix SIGNED_ if the doc is signed.",
"- After success, a document will be added to this case with the prefix \"SIGNED_\" if the doc is signed.",
"",
"**DEPRECATED",
"- ATrust/StartSignature/call(SignatureJob) method",
"- signatureJob.pdfDocument;",
"- signatureJob.signStampCoordinatesX0",
"- signatureJob.signStampCoordinatesX1",
"- signatureJob.signStampCoordinatesY0",
"- signatureJob.signStampCoordinatesY1 = 14.4; // example for postion of stamp",
"- signatureJob.signStampPageNumber;"
"- ATrust/StartSignature/call(SignatureJob) method"
],
"visual" : {
"at" : { "x" : 456, "y" : 1287 },
Expand Down
30 changes: 22 additions & 8 deletions a-trust-connector-product/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,28 @@ Before any signing interactions between the **Axon Ivy Engine** and the **A-Trus
```
Variables:
ATrust:
# API Key for "A-Trust Handysignature API"
APIKey: ''
# The Server URL under which the SigBox Server is reachable
ServerUrl: ''
# The SignBox belong to your ATrust server
SignBox: ''
# The default signature template ID to be used
TemplateId: 0
# API Key for "A-Trust Handysignature API"
APIKey: ''
# The Server URL under which the SigBox Server is reachable
ServerUrl: ''
# The SignBox belong to your ATrust server
SignBox: ''
# The default signature template ID to be used
TemplateId: 0
# To config the Handy-Signature view in iframe. The Details can be found on the A-Trust Website https://labs.a-trust.at/developer/Handy-Signatur.aspx.
HandySignaturParameter:
# For setting width of frame.
Width: 350
# For setting height of frame.
Height: 350
# For setting background color of frame.
BackgroundColor: 0
# For setting phone number of frame.
PhoneNumber: 0
```

4. Save the changed settings.
Expand Down
30 changes: 22 additions & 8 deletions a-trust-connector-product/README_DE.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,28 @@ Before any signing interactions between the **Axon Ivy Engine** and the **A-Trus
```
Variables:
ATrust:
# API Key for "A-Trust Handysignature API"
APIKey: ''
# The Server URL under which the SigBox Server is reachable
ServerUrl: ''
# The SignBox belong to your ATrust server
SignBox: ''
# The default signature template ID to be used
TemplateId: 0
# API Key for "A-Trust Handysignature API"
APIKey: ''
# The Server URL under which the SigBox Server is reachable
ServerUrl: ''
# The SignBox belong to your ATrust server
SignBox: ''
# The default signature template ID to be used
TemplateId: 0
# To config the Handy-Signature view in iframe. The Details can be found on the A-Trust Website https://labs.a-trust.at/developer/Handy-Signatur.aspx.
HandySignaturParameter:
# For setting width of frame.
Width: 350
# For setting height of frame.
Height: 350
# For setting background color of frame.
BackgroundColor: 0
# For setting phone number of frame.
PhoneNumber: 0
```

4. Save the changed settings.
Expand Down

0 comments on commit 9443969

Please sign in to comment.