This guide explains in detail how to install and configure the DET for CCG. 

  1. Install the DET
    1. Download and install the following setup file: 
      www.asamco.com/Software/DataExtractionTool/SetupDataExtractionToolv3.8.0.exe
    1. Do not run it yet after the installation!
    2. Make sure you run the DET as Administrator to get priviliges for creating the SQLLite database (right click → run as administrator).

  2. Configure the DET
    1. Register the DET
      • The first time you run it (AS ADMINISTRATOR!) you must register the DET:
      • Fill in the name. Use the customers name + location. E.g. "CCG - Nongoma"
      • The password is: "asamco@123"

      • In case you want to use another endpoint click the add button. These settings need to be provided:
          • Credentials:
            Username: The username (domain\username) to use to authenticate on the webservice: "CCGMSCOA\DETUser"
            Password: The password to use to authenticate on the webservice: "camelsa@123"
          • SSL: Determines if SSL should be enabled for the new endpoint (check the checkbox).




b. Configure global settings

      • Go to the Settings tab at the top of the application and click: Global settings

      • In the first tab - MailSettings - fill in the following settings:
      • In the second tab (Default mail template) you need to use the following settings (this is an example!) 

This template only works for backup tasks!


Hello!

We've backupped your database. Or at least tried. See below for the details.
Errors found (yes/no): %%BaseTask.HadErrorLastRun%%
General info:

Task name: %%BaseTask.Name%%
Database: %%BaseTask.DatabaseName%%
Backup date: %%BaseTask.LastRunDateTime%%
Zipped file name:  %%BackupTask.FormattedZipName%%
Upload location: %%BaseTask.WebserviceLocation%%
Detailed log:

%%BaseTask.Logs%%
%%BaseTask.ServerInformation%%
%%BaseTask.RunningTime%%

Have a nice day!

The Asamco Team


      • In the last tab, General settings (skip the third tab), and fill in the following settings (for example):

These folders are just an example. You may create them elsewhere if prefered, aslong it isn't in Users/Document and Settings!

        • Make sure you create those folders before hitting Save


c. Configure Backup Task

Now we are going to create a new backup task (or when there are multiple live databases, tasks)

  1. In the main menu, go to the tab Tasks at the top of the application
  2. Click the button: new Backup Task
  3. In the first tab (Settings) fill in the following settings for example:


d. Configure Polling

In order to retrieve queries that are given through the webservice, the DET must poll the webservice frequently.

  1. In the main menu, go to the tab Settings and click the button Poll settings
  2. Check the option: Allow tool for polling
  3. Select an Endpoint in the dropdown below it
  4. In the Options window below check all settings; Insert, Update, Delete
  5. Now in the second tab - Mail template set a template email:
Hello!
 
We've polled the following query and executed it:
 
%%QueryTaskWrapper.QueryField%%
%%QueryResultWrapper.Exception%%

Have a nice day!

The Asamco Team


(Make sure you do not use BaseTask items!)

6. Update Files Mail Template

The following template needs to be used.


Hello!

We've updated some files. Or at least tried. See below for details.
Errors found (yes/no): %%UpdateFilesTask.HadErrorLastRun%%

General Info:

Task Name: %%UpdateFilesTask.Name%%
Path Determination Method: %%UpdateFilesTask.PathDeterminationMethod%%
Path Determination: %%UpdateFilesTask.PathDetermination%%
Files:
%%UpdateFilesTask.relativeExtractedFiles%%
 
Logs:
%%UpdateFilesTask.Logs%%

Kind regards,

The Asamco Team

3. Configure Window Task Scheduler

In order to make the database backup daily and poll the webservice every hour, we need windows to run the DET through Task Scheduler: 
Make sure you create a seperate task for backup(s), polling and or extraction

  1. Start Windows Task Scheduler: Under Programs > Accessoires > System Tools
  2. Create a new Task (Create Task) in the left pane
  3. Set a name for the Task. E.g. DET - Backup or DET - Polling
  4. Select the option: Run whether user is logged on or not

Where this option is located differs between Windows versions

  1. Under Triggers click the button New...
  2. Select the option: Daily and change the start time to e.g. 23:00 (11:00PM)
  1. The action it needs to do is Start a program
  1. And make sure it runs with the highest privileges. This is an checkbox option in the General tab

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.

Related issues