Managing records in a data container - 6.5

Talend Data Fabric Studio User Guide

EnrichVersion
6.5
EnrichProdName
Talend Data Fabric
task
Data Quality and Preparation
Design and Development
EnrichPlatform
Talend Studio

From Talend Studio, you are allowed to add, edit or delete data records directly in a data container.

How to create a new record in a data container

In a data container, you can create as many new data records as needed for one or more entities.

Prerequisite(s): You have already connected to the MDM server from Talend Studio. A data container exists and is defined with at least one entity.

To create a new data record from a data container, do the following:

  1. In the MDM Repository tree view, expand the Data Container node.

  2. Double-click the data container in which you want to create a new data record.

  3. A dialog box opens, asking you to select an appropriate MDM server.

    Once you have made your choice, click OK to close the dialog box.

  4. Right-click the lower part of the data container browser, and then click New Record.

  5. An [XML Editor/Viewer] dialog box opens, allowing you to add a new data record with an XML editor.

    After the editing is done, you can click the Tree tab to check the data record in a tree view.

  6. If needed, select the Fire a change event (update report) and triggers check box so that the newly created record will be written into the UpdateReport and eligible Triggers will be executed directly.

    After selecting the Fire a change event (update report) and triggers check box, if required, select the Enable verification by before processes check box to enable the verification of the newly created record by the Before Saving processes. For more information about Process types, see Process types.

  7. Select an appropriate data model from the Data Model list.

  8. Click Save to validate your changes.

The newly added data record will be displayed in the lower part of the data container browser.

How to edit a record in a data container

In a data container, you can edit an existing data record according to your need.

Prerequisite(s): You have already connected to the MDM server from Talend Studio. A data container exists and is populated with some data records.

To edit an existing data record in a data container, do the following:

  1. Follow the steps outlined in How to browse a data container to search for the data records of interest.

  2. Right-click the data record you want to edit, and then click Edit Record.

  3. An [XML Editor/Viewer] dialog box opens, allowing you to modify the data record according to your need.

  4. If needed, select the Fire a change event (update report) and triggers check box so that the modified record will be written into the UpdateReport and eligible Triggers will be executed directly.

    After selecting the Fire a change event (update report) and triggers check box, if required, select the Enable verification by before processes check box to enable the verification of the modified record by the Before Saving processes. For more information about Process types, see Process types.

  5. Click Save to validate your changes.

How to delete a record in a data container

In a data container, you can choose to delete a data record permanently or only remove it from the data record list.

You can delete only one record at a time or delete multiple records together in one go.

Prerequisite(s): You have already connected to the MDM server from Talend Studio. A data container exists and is populated with some data records.

To delete a record permanently, do the following:

  1. Follow the steps outlined in How to browse a data container to search for the data records of interest.

  2. Right-click the record you want to delete permanently, and then click Physically delete the selected record.

  3. A dialog box pops up, asking you to confirm the deletion.

    If needed, select the Fire Delete Event check box so that a delete event will be generated and written into UpdateReport. Next, in the Source Name field, define a name for the source which generates the delete event. You can also select the Invoke before deleting process check box to enable the verification of the delete event by a Before Deleting process.

  4. Click OK to validate your changes and confirm the deletion.

    The data record will be removed from the list of data records and be deleted permanently.

To remove a data record from the data record list, do the following:

  1. Right-click the record you want to remove from the data record list, and then click Logically delete the selected record.

  2. A dialog box pops up, asking you to confirm the deletion.

    In the Set Part-Path field, give a path within the recycle bin, where the removed data record will be stored temporarily.

    From the recycle bin, you can permanently delete data records or restore them to the data container they were deleted from. For more information about how to recover a deleted data record, see the section How to recover a deleted data record in Talend MDM Web User Interface User Guide.

    Note

    Currently, "/" is the default and only option for the Set Part-Path filed.

    If needed, select the Fire Delete Event check box so that a delete event will be generated and written into UpdateReport. Next, in the Source Name field, define a name for the source which generates the delete event. You can also select the Invoke before deleting process check box to enable the verification of the delete event by a Before Deleting process.

  3. Click OK to validate your changes and confirm the deletion.

    The data record will be removed from the list of data records and can be restored from the recycle bin later.