Populate a Database with Drop File Data – SENTINEL Instructions
Target Audience: Advanced User, IT Manager
Article #: 12629
Summary
This article explains how to populate or a database using drop file data. This drop file can be either text or an XML file. These instructions apply to SENTINEL which serves as the centralized print manager for TEKLYNX CENTRAL.
Preparation
Before you begin, you will need to have the following:
- Access to an SQL database with administrative credentials
- Microsoft SQL Management Studio either on the server or on another device that can access the database
- SENTINEL or TEKLYNX CENTRAL installed and functioning
- A copy – not the original – of a sample drop file
Instructions
Create the Destination Database Table
- Create the destination database table by looking at the sample drop file and separating the variables into:
a. One-time “header” variables such as order number, operator name, etc.
b. Repeating variables which will go into the SQL table

- Take note of the field names for your table (1b, above). Log into your SQL database and create the new table.
HINT: Include “TEST” in the name to make it easier to locate.

Create the Database Stored Procedures
- Log into SQL Management Studio (for MSSQL)
- Open the node for the database in the Object Explorer window, which is typically located on the left-hand side.
- Expand the Programmability node to see the Stored Procedures.
- Right-click on Stored Procedures and select Stored Procedures…

- Use a template from SQL Management Studio to create the stored procedure.
Define Parameters

- Enter the SQL statements.

- Press Execute when done.
Create SENTINEL Map
- Create a SENTINEL Map. Two examples are shown below.


Create a Task Definition Using Query Manager
- Select Query Manager.
- Add a datasource such as MS SQL Server.

- Establish a Database Connection. Use the Test Connection button to confirm.

- Define Aliases on the Stored Procedure.

- Add Tasks, such as FillOrder and Stored Procedures.

Set Up SENTINEL Watch
- Select Create a new sentinel.
- In the General tab, define a Name and Map for the SENTINEL Watch.

- In the Input tab, define the plug-in, such as File Capture, and select Settings to define the file path, naming convention, watch method and digital signature.

- In the Process tab, select Database and then select the task.


Test Ability to Use Drop File Data
- Start the new Sentinel
- Drop in the sample file
- Check the database.

Additional Comments
Tested using TEKLYNX CENTRAL v6
If you need further assistance, please contact us.
Author
Related Articles
- Loftware Redirect Print to PDF action using multiple printer seats
- License is failed – TEKLYNX CENTRAL Error Message
- Loftware Web Designer vs Desktop Designer
- Loftware Workday API Splitting Print Jobs
- Planning a BarTender Server Migration and Upgrade – BarTender Instructions Article
- Deciding on an In-Place Upgrade, Test Server, or Migration – BarTender Reference Article