DS Server

SignatureSettings Class

Class

Description

Configures the signature workflow of a loaded document.

Syntax

SignatureSettings

Examples

The following example demonstrates SignatureSettings in a practical Document Viewer workflow. This object encapsulates settings for the signatures.

const signatureSettings = {
    showSignatureBar: true,
    ownerName: "Contoso Legal",
    signerName: "Alex Reviewer",
    signerInitials: "AR",
    uniqueId: "contract-2026-0042",
    defaultSignatureFont: { family: "Pacifico" },
    signatureBoxes: [
        { name: "CustomerSignature", signingRequired: true, style: 0 }
    ]
};
console.log("Signature settings:", signatureSettings);

Members

Properties

PropertyDescription
customSignatureDataOptional. Application-defined data passed to the signing workflow.
customSigningOptional. Whether the application's custom signing workflow is active.
defaultSignatureFontOptional. Default font for text-based signatures.
ownerNameOptional. Document owner name used by the signing workflow.
redirectUrlAfterSignatureOptional. URL to open after a server-side signing operation completes.
showSignatureBarOptional. Whether the signature bar is visible.
signatureBoxesOptional. Signature-box names or specifications used to identify and configure signature boxes.
signatureBoxNameOptional. Name of the signature box to process when more than one is available.
signDateFormatOptional. Format used for signature dates sent to the signing workflow.
signerInitialsOptional. Initial signer initials shown in the signing dialog.
signerNameOptional. Initial signer name shown in the signing dialog.
uniqueIdOptional. Application-defined identifier sent with the signing request.