Draw signature
  • 18 May 2022
  • 1 Minute to read
  • Dark
    Light
  • PDF

Draw signature

  • Dark
    Light
  • PDF

Opens a view that allows the user to draw a signature.

If the user closes the view by clicking Save, the first output is triggered.

If the user closes the view in some other way, the second output is triggered.

If an error occurs, the third output is triggered.

The signature image file is saved in a temporary folder. You can use the Move file flow function to move it to a preferable location.

Web is currently not supported.

Input arguments

No input arguments.

Output arguments

Number of outputs: 3

Label Key Type Description
Signature file signatureFile Object Object representing the signature file drawn by the user.
  • Local path
signatureFile.path String Absolute local filesystem path representing the file location on the device, including the filename and extension. On web, this is created via the [`createObjectURL`](https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL) method.
  • MIME type
signatureFile.mimeType String MIME type of the file, if it could be determined.
  • Name
signatureFile.name String Name of the file in the local filesystem, if applicable. Note that the filename and extension are included in the **Local path** property already.
  • Size
signatureFile.size Number Size of the file, in bytes.
  • Created at
signatureFile.createdAt String Creation datetime of the file, if it can be determined.
  • Modified at
signatureFile.modifiedAt String Datetime when the file was last modified, if it can be determined.

Events

No events.

Errors

Label Code Description
Unkown error unknown Thrown if an unknown error occured while drawing the signature.

Was this article helpful?