Generating PDF annotations
The notary service provides a web page with a user interface for generating the PDF annotations with
signees’ signatures in the provided PDF file. The web page is located at https://eu2-cloud.acronis.com/notary/annotations
.
The procedure requires knowledge of HTML and Javascript.
After completing this procedure you will be able to copy the list of PDF annotations and use it to:
embed signees’ signatures into the PDF file when signing a file by permanent link or signing a file by uploading it to the Notary service;
create a template to automate creation of the e-sign documents with embedded signatures.
Before you start
If you uploaded a file that was converted to the PDF by the notary service, fetch the ID of the converted PDF file and download the file by following the Fetching signed and converted PDF files procedure.
Creating an annotation form
Create the
annotations-form.html
andannotations-script.js
files using the code from the following examples and put them in the same folder:In the
annotations-script.js
file, see the “TODO” comments for additional instructions.The resulting annotation form will contain a file input, a checkbox for enabling the template mode of the annotations page, and the form submission button.
Open a command line and run a python HTTP server in the folder with created files:
python -m http.server --directory "<path_to_folder>"
Replace
<path_to_folder>
with your actual path. This will start the HTTP server listening on port 8000.Open http://127.0.0.1:8000/annotations-form.html in your web browser. The annotations form should appear.
Generating the annotations
[Optional] Check the Enable template mode checkbox to create PDF annotations for a template.
Choose a PDF file and click the form submission button. A popup window with the annotations page will appear.
Add signees’ signatures to the PDF file:
If the template mode is enabled, add signees by clicking Add signers and drag and drop necessary fields to the PDF file.
If the template mode is disabled, drag and drop necessary fields of the signees to the PDF file.
[Optional] To add custom fields, open the Custom fields tab, add custom fields by clicking Add custom field and drag and drop them to the PDF file.
[Optional] Mark the fields as optional by selecting them in the PDF file and checking the Optional field checkbox.
Click Preview and send to preview the PDF file with the signatures, then click Send. The window with annotations page will close.
Copy the list of PDF annotations that should appear under the form.