Web capture action

Use the Web capture action to perform actions, such as scanning, selecting scanners, and importing and deleting pages.

You can associate a Web capture action on any button click and not just depend on the Web capture control toolbar to perform these actions.

The Web capture control supports the following events.

Event Description
Document save complete This event is fired when a scanned or uploaded document is saved.
Ingestion started This event disables the File upload control when you scan or upload a document, because, during the scan, the folder is locked and does not allow uploading a file.
Ingestion completed This event saves the changes and enables the File upload control when scan or upload is completed, and new pages are ingested.
Document changed This event is fired when a Web capture control changes the document structure and deletes or moves a page within the document.
Page index changed This event is fired when the selected page index changes.
Control undocked This event is fired when a document viewer of the Web capture control is undocked (detached).
Control docked This event is fired when a document viewer of the Web capture control is docked.

The Next page and Previous page actions and similar toolbar buttons do not change the selected page index; they just scroll the viewer to the next or previous page.

  1. On the form modeling bar, click Actions and click New.

    The New action dialog box is displayed.

  2. On the Type list, select Web capture.
  3. Change the default Name (WebCaptureAction1) to something meaningful.
  4. Optional. Enter a Description for the action.
  5. Optional. Configure a unique action for each language separately. See Configure multilingual actions for a form or control for more information.
  6. On the Web capture list, select the capture control as needed.
  7. On the Actions list, select an action. The available actions are:
    Action Description

    Save

    Allows you to automatically save the data.

    Import

    Allows you to choose files for import into a new document.

    Add page(s) from file

    Allows you to choose files that need to be added to the currently displayed document.

    Select scanner

    Displays the Select scanner dialog box where you can select the scanner.

    Scan

    Scans images from the scanner and adds them to the new document.

    Add page(s) from scanner

    Scans images from the scanner and adds them to the currently displayed document.

    Previous page

    Scrolls the viewer to the previous page.

    Next page

    Scrolls the viewer to the next page.

    Delete page

    Deletes the currently selected page.

    Move page up

    Moves the currently selected page up.

    Move page down

    Moves the currently selected page down.

    Zoom out

    Constricts the viewer.

    Zoom in

    Magnifies the viewer.

    Full size

    Displays the image in its real size.

    Best fit

    Fits the entire image to the viewer.

    Fit to width

    Fits the image to the width of the viewer.

    Draw highlight

    Allows you to draw highlight annotation.

    Draw line

    Allows you to draw a line annotation.

    Draw freehand

    Allows you to draw a freehand annotation.

    Draw rectangle

    Allows you to draw a rectangle annotation.

    Draw text

    Allows you to draw a text annotation.

    Undock

    Allows you to undock (detach) the image or document viewer from the main form and move it to a separate browser window so that the image can be displayed on a second monitor.

    Draw mask

    Allows you to select an area to mask the image.

    Permanent redaction

    Allows you to permanently alter the image so that you can remove sensitive information that should not reside in your database.

    Add sticky note

    Allows you to add a sticky note.

    The Import, Add page(s) from file, Select scanner, Scan, Add page(s) from scanner, and all the Draw actions are interactive, therefore, we recommend that you do not use them in combination with other custom form actions.
  8. Click OK.

    The newly created action is added to the table.

  9. Click Add.
  10. Associate the action with the control to trigger this action. See Configure actions for form control events. Alternatively, to call this action for a form event, associate the action with the form. See Associate an action with a form.