LoadImport Action

The LoadImport action is used to initiate a datasource upload and import into the repository. This allows for automated data feeds into the application, when data change is initiated in other systems.

To initiate the LoadImport workflow event and to spawn the catalog record add event through FileWatcher, put at least one file in the $Relative/URI/incoming directory. This file must have the records that need to be imported.

Another requirement for LoadImport is that the <Datasource> parameter must be specified.

FileWatcher polls for a file in the incoming directory and then processes the DataSets. For LoadImport, a file containing the records to be imported is required in the incoming directory. The file is moved to the done or rejected folder after the action is completed.

Prerequisites

Create the repository.

Create the datasource. Refer to the section <DataSet type="single" > for more details on the format of the data source.

Create the input map between the datasource and the repository.

To initiate the LoadImport event:

Set the FileWatcher configuration file. Include the DataSource parameter in the DataSet.

Place any file in the $Relative/URI/incoming folder and the Import event will be initiated

Data Transfer Action

A new sub action DataTransfer has been added under LoadImport Action to initiate Data Transfer through FileWatcher. For this, Export Archive needs to be put in configured incoming directory.

The only prerequisite for this action is that repositories metadata should be present in the target Enterprise.

This action can be specified as below after <URIInfo>

<ImportAction>DataTransfer</ImportAction>
		

No other parameter such as MasterCatalog, DataSource, InputMap etc. will be needed in this special case of LoadImport Action.