ISignatureDetailsAddin

An add-in that allows for the signature image and text personalization, this method should return an ISignatureDetails object that returns null on all values to be replaced by the default values.

Trigger Event(s): Document signature using a non-HANDWRITTEN signing method
Table 1. ISignatureDetailsAddin interface methods declaration and description
Method Description

generateSignatureDetails

Receives the information regarding the artifact analytics event

Parameter

Type

Description

sig

ISignRequest

Object containing the signature request info

fieldId

String

The name of the field being signed

context

ArtifactContext

The current document status

Returns

Type

Description

sigDetails

ISignatureDetails

An object containing all the possible information to customize the signature image

eSign brings an out-of-the box implementation for this interface that is described below
Table 2. Available implementations for ISignatureDetailsAddin
Implementation Default Description

-

-

-

Configuration

First the add-in needs to be loaded as an extension

"_comment" : "List all the extensions to be used",
"extensions" :
[
	...

	{
        "name": "details-signature",
        "class": "novabase.connect.paperless.esign.core.extensions.impl.ISignatureDetailsAddin"

    },

	...
]

Optionally, set as the default add-in by establishing the class path for the type "signature_details"

"_comment" : "List all the default addins to be used",
"addins" :
[
    ...

    {
        "type": "signature_details",
        "extension": "details-signature"
    },

    ...
]