tony-xlh / APEX-Dynamic-Web-TWAIN

APEX Plug-in to scan documents using Dynamic Web TWAIN
4 stars 1 forks source link

guide #3

Open tony-xlh opened 4 months ago

tony-xlh commented 4 months ago

Simple Guide using the Web TWAIN plugin:

  1. Download the plugin and install it: https://github.com/tony-xlh/APEX-Dynamic-Web-TWAIN/raw/main/region_type_plugin_com_dynamsoft_dwt.sql

    image

  2. Create a new page and drag the document scanner region into it.

    image

  3. Set the region’s ID to DWT.

    image

  4. Create a new button with a dynamic action to start the scanner. It executes the following code: apex.region("DWT").showModal();

    image

  5. Run the app and you will be able to scan documents.

    image

  6. You can set several attributes for the component.

    image

    • You have to set the license attribute to use Dynamic Web TWAIN in a production environment. You can apply for a license here.
    • If you need to upload the documents, you have to start an HTTP server to receive the documents and set the host and port attributes.
xulihang commented 1 month ago

Notes about Version

The latest plugin was exported using APEX 24 which may not work with old APEX versions.

You can use this old version instead: https://github.com/tony-xlh/APEX-Dynamic-Web-TWAIN/raw/c93509b21cf51de0ef60ffef34d5d247c5e65e8d/region_type_plugin_com_dynamsoft_dwt.sql

Or create a new plugin from scratch following the blog.