powerKNOW Tree Loader Dialog

This dialog is used when powerKNOW Tree Loader is started without the commandline argument '-noGUI'.




If other commandline arguments have been specified when starting powerKNOW Tree Loader the values given will be shown in the dialog as defaults.

Enter/modify all values needed to specify: The following fields can be specified / filled:
NameDescription
Base Directory Base folder / directory to be scanned for files to be loaded. Use "Browse" button to search for the folder.
Include subfolders If enabled the subfolders of the directory given will be scanned as well.
If disabled only the base folder itself will be scanned.
Extensions to load List of file extensions to be loaded.
Separate the extension by comma. All other files in the diretory / tree will be ignored.
Default: List of extensions indexed by this installation of powerKNOW
Add new files Action to be taken when a new file is found (not already present in the knowledge base):
Enabled: Load = create new knowledge document with this file loaded as the first attachment. First text, title and status filled as specified in the corresponding fields.
Disabled: ignore new files
Update if necc. Action to be taken when a file is found which has already been loaded to the knowledge base by powerKNOW Tree Loader and which has been changed in the meantime:
Enabled: Update = reload the file found as the first attachment of the knowledge document. Refresh first text, title and status as specified in the corresponding fields.
Disabled: ignore changed files
Delete if no longer in folder Action to be taken when a file is found in the knowledge base belonging to the directory / tree specified, previously loaded by powerKNOW Tree Loader and no longer present in the directory / tree:
Enabled: Delete the corresponding knowledge document
Disabled: ignore removed files
Title Title of the knowledge document created / updated for a file found.
See "replacement of variables" for a list of variables which can be used in this text.
First text Contents of the first internal text (first text to be listed und 'MyStructure') of the knowledge document.
See "replacement of variables" for a list of variables which can be used in this text.
Text-Trigger Trigger to be used to update only parts of the first text in case of a changed file. See "Replacing only parts of the text" for details.
Status Status of the knowledge document created/updated.
powerKNOW user Username to be used to login to the powerKNOW database. This must be a valid username of powerKNOW.
Password Password of the powerKNOW user.


After specifying the neccessary information press "Load" to start loading. The progress will be shown on the screen.


After load is finished a dialog box with summary information and log is shown.

Replacement of variables

The following variables can be used in text and title to include information about the file loaded:
VariableDescription
%path% Full path of file
%pathL% Full path of file (converted to lowercase)
%name% Complete name of file (basename + extension)
%namebase% Base name of file (without extension)
%nameext% Extension of file name (no '.')
%size% Size of the file
%timeCr% Date/Time file was created
%timeAcc% Date/Time file was last accessed
%timeUpd% Date/Time file was last updated
%timeLoad% Date/Time loaded into knowledge base
%\n% new line / line break

Replacing only parts of the text

In case of update of a knowledge document it is possible to replace/update only part of the first internal text. Using this method it is possible to manually add some comments to a knowledge document based on a file loaded by powerKNOW Tree Loader without loosing these comments on update of the file. To accomplish this: Now in case of update powerKNOW Tree Loader will update/replace only the second part of the text.

Example:
Template for first text
("First text")
comments to be added here
%\n%
%\n%--:--Automatic File Info--:--
%\n%Path: %path%
%\n%Last Update: %timeUpd%
Text-Trigger --:--Automatic File Info--:--

© Copyright KLV GmbH