Scan to Database
The Scan to Database function in Scan2x allows for the definition of a job that will write output directly into a Microsoft SQL or Oracle database. This is true for both metadata and the actual document.
Note: When saving a document in a database table, it is saved as Byte() or Base64String depending on the datatype of the column that it is being saved into.
To configure this, one must connect to the database server, then to the database and finally to the table to be written into. The remainder of this example will describe the process for connecting to Microsoft SQL, but Oracle is similar in nature.
Scan2x detects and lists all visible MS SQL servers and pre-populates the Server dropdown. Select the server you wish to connect to from this list.
Then select the Authentication method you wish to use, and if you have chosen SQL Server Authentication, enter the username and password that Scan2x will use to connect to the server.
Press the Database dropdown refresh button (see button outlined in red on the screenshot below) – this will attempt to connect to the server and access the database.
Select the Table Name using the dropdown – press the refresh button alongside it if necessary.
If the connection is successful, the columns of the selected database table will appear in the central grid, and it will be possible to define what document metadata goes into each table column.
Use the Value dropdown to do this, as shown in the screenshot below.