To work with the tool in Foresight Analytics Platform 10, use the new interface.

In this article:

Basic Properties

Repository Object

Data Consumer

Export Options

Edit Input

Setting Up Dimensions

Dimensions Comparison

Fixing Consumer Dimensions

Error Handling

Updating Records

Edit Output

Repository

The Repository connector is an object that is used to load data to repository objects.

After adding the connector to the ETL task working area set basic properties, data source in repository, export options.

Depending on repository object used as a consumer, consumer context menu will contain additional items:

Basic Properties

The basic properties are used to set object name, identifier and comment.

Repository Object

The Repository Object page is displayed only on creating a new consumer:

Select a consumer type, to which export is executed. If a new object is created, on moving to the Data Consumer page it is prompted to save a new object to repository.

Data Consumer

Select an object in the current repository to be used as a data consumer.

The following repository objects can be used as consumers:

If the Clear Consumer Before Loading Data checkbox is selected, all data contained in the consumer object is deleted before loading. If the checkbox is deselected, new data is added and existing data is updated.

If data consumer is an MDM dictionary, one can select the element update method in the drop-down list. The following options are available:

NOTE. When a standard cube, time series database, MDM dictionary or composite MDM dictionary is selected as a data consumer, the Clear Consumer Before Loading Data checkbox and the Edit Object button are disabled.

The Edit Object button opens the editing wizard of the selected object if the wizard was prepared.

If a new consumer is created, and the option of creating a new object is selected on the Repository Object page, on moving to the current page it will be prompted to save a new object to repository. The created object is automatically selected in the drop-down list. The list will also contain the filter that enables the user to select other objects of one type that was specified on the Repository Object page.

Export Options

To set up parameters that are used to determine exported range of data, use the Export Options page.

NOTE. To display this page in the Repository data consumer wizard, specify on the Data Consumer page a file of the Document type.

Settings depend on the document type and are the same as export options for data consumer of the same format.

For example, when the document with the *.xlsx extension is used as a data consumer, the Export Options page looks as follows:

Edit Input

To set a list of fields and link to input, use the Edit Input page.

The following parameters are available on the page:

Identifier

Link to object

Fields

NOTE. The screenshot represents edit wizard for the Repository data consumer.

Setting Up Dimensions

To change name of dimensions and its contents, use the Set Up Dimensions page.

Rename dimension

Change dimension contents

According to the type of selected data provider, on clicking the Next button the user moves to the next page.

Dimensions Comparison

To link imported dimensions with existing repository dictionaries, use the Dimensions Comparison page.

To link dimension with existing dictionary, select dictionary in the drop-down list next to required dimension. The following items are available for selection:

To add new elements to the dimension from attribute of selected dictionary on import, select the Add New Records checkbox. The checkbox is selected by default. If the checkbox is deselected, elements are not added. Data is imported only for the elements in the provider and in the selected dictionary. Only the elements available in the dictionary are used for binding to data.

NOTE. Take into account existing features on importing to hierarchical or multilingual dictionaries.

If the dimension is not bound with the existing dictionary, a new MDM dictionary is created for it.

Fixing Consumer Dimensions

To fix selection of the data consumer dimensions, which were not mapped with data source dimensions, use the Fix Consumer Dimensions page. The page is available if the existing cube or time series database is selected as a data consumer, and at least one dimension binding is reset on the Dimensions Comparison page.

Fix the dimensions by selecting the required elements in the drop-down lists. The selected elements are bound with the copied data.

Error Handling

The Error Handling page determines behavior of the object on error occurrence.

NOTE. The page is common for all data consumer connectors, except for XML, Text, JSON and User Consumer. Consider setting up error handling parameters using the example of the Repository data consumer editing wizard.

Set parameters:

A file that is used to store skipped records can be specified on selecting the Skip Only Incorrect Records or Skip All Records In One Transaction actions.

NOTE. If on export there were no skipped records, the text "??" is written to the file. This means an empty Unicode file with the Win encoding.

    • Rows separator: {Carriage Return}{Line Feed}.

    • Fields separator: ; (semicolon).

    • Text qualifier: "" (double quotes).

NOTE. The following file name is formed by default: <consumer identifier>_skipped records.csv.

Each skipped record is registered in the ETL log as a single record containing the number of skipped record, error text and error field information. If all records within transaction are skipped because of one error record, the log displays this reason in the Description field.

NOTE. If it is not required to distribute records by transaction, specify the number of records equal to zero. In this case, all records from the source are loaded one by one. This setting is applied only if the Stop Task Calculation or Skip Only Incorrect Records actions are selected in the Action Executed on Error Occurrence drop-down list.

After executing the operations, the export object behavior is specified in case of error situations on data loading.

NOTE. The Error Handling page is displayed in the editing wizard if the user selected as a consumer an object of the Table or Document type.

Updating Records

To select fields for update in data provider and consumer, use the Update Records page.

In the Identifier column, select checkboxes of the fields, which will be used to compare records in provider and consumer.

To select all fields for update, click the Select All button.

To deselect all fields, click the Deselect All button.

To deselect simultaneously selected fields and select the deselected ones, click the Invert button.

NOTE. Record update is relevant if the consumer is not cleared before data loading.

Edit Output

The Edit Output page enables the user to set links to the consumer object, to which data on executing ETL tasks is loaded.

NOTE. The page is common to all data connectors and transformers, except for the Split and User Algorithm transformers. Consider setting up a list of fields and output links using the example of the Repository data source editing wizard.

The following settings are available on the page:

Identifier

Link to object

Fields

See also:

Getting Started with the ETL Task Tool in the Web Application | Data Consumers