You are here: User interface > User interface rules > Harness and section forms > Harness and Section forms - Adding a Signature Capture control

Harness and Section forms
Adding a Signature Capture control

You can add the Signature capture control to a cell, enabling users to capture a user signature, either through a mouse input or through a touch interaction on a mobile device. This control works when used in the context of a work object. Interacting with this control in an application occurs by displaying a field inline where a signature can be scribbled. It can take up a large portion of the screen.

It is possible to define the minimum height and maximum width for the control. Aspect ratio is used to determine the height for the signature capture and is based on current width. The control is responsive and will automatically use 100 percent of the width when rendered on a mobile device. This control also contains the Accept and Clear actions. You can hide the default Accept and Clear actions for the control and use your own custom buttons instead - see Customizing a Signature Capture control for details.

When a user clicks Accept the entered signature is saved as an image attachment in the work object. Entering a signature and accepting it can be repeated as many times as necessary, however, only the last signature saved as an attachment is used when submitting an assignment. When a user clicks Clear, the current signature is wiped out so that a new one can be entered in the field. Multiple versions of a signature are not kept. In other words, only the last entered signature is saved as an attachment, no matter how many times you repeat this action on the same control.

You can make the Signature Capture control:

Refer to Customizing a Signature Capture control for details on the available presentation options.

Note: The Signature Capture control is always disabled on a new harness or a portal harness.

Offline support

A user can also sign a work item using the Signature Capture control while working offline if this capability has been enabled for the application. This includes adding a signature for work objects that were also created offline. Furthermore, previews of signatures entered while online are available when you are back offline. You can view the attachment of an offline signature in desktop after the next synchronization has taken place. See also Offline capability.

The thickness of the signature varies depending on the speed at which it is entered by the user in the application. An entered signature is automatically cleared when the control is resized - for instance, when changing the orientation of a device. This is a known limitation.

To show a captured signature once the object is resolved, for instance, in the Review harness, follow the steps listed in Packaging a signature after the work object is resolved.

Note: Using the Signature Capture control is also supported for cases that were created in offline mode.

Adding a Signature Capture control

  1. In the harness, section, or flow action, select the Signature Capture control from the Advanced controls group.
  2. Drag the control into the layout and release the mouse button to drop the control.
    If you are using a cell-based layout and you drag the control into a cell that is not empty, then the dropped control replaces the current contents of the cell.
  3. Click the View properties icon to display the Cell Properties dialog.
  4. On the Cell Properties dialog, customize the Signature Capture control using the tabs described in the table in Customizing a Signature Capture control.