  |
 | Browse and group the records
|
You can also access your hub via a Web based client. To do so: Open your Web browser. Go to the default MDM server address: http://localhost:8080/talendmdm/In the Login and Password fields, type in user, the default settings. Click Login to connect the Talend MDM Web application.
Next
|
  |
In Talend MDM Web application main window:Click the left arrow on the top right corner of the window to display the Data Container and Data Model displayed in the Web application.
Next
|
  |
In the Actions view, check the Product Data Container and Data Model are used. Click the right arrow at the top right corner of this view to hide it. In the Welcome page, click Browse Records to view the MDM records.
Next
|
  |
In the Browse Records view:In the Entity field, select Product. Click Search to display the list of product. All the products display at the bottom of the view.
Next
|
  |
In the Menus, click Grouping Hierarchy to view the product by family: In the Entity field, select Product. In the Pivot field, select Family -> Name. In the Display Field field, select Name. Click Run Search. The products display by family.
Next
|
  |
You can also search the products by availability: In the Entity field, select Product. In the Pivot field, select Availability. In the Display Field field, select Name. Click Run Search. The products are grouped by availability.
Next
|
  |
 | Trigger a job to enrich a new record
|
In the Menus, select the Browse Records. In the Browse records view:In the Entity field, select Product. Click New Record to create a new product.
Next
|
  |
In the Product view:Fill in the Unique Id, Name, Description and Price fields as shown in the screenshot. Click the [+] button to add a new family.
Next
|
  |
In the Product Family view:In the Name field, give the family name of the product you just created. Click Save and close to validate the creation.
Next
|
  |
In the Product view:Click the Search button to link the product to its family. In the Choose a foreign key window:Select Waffle Makers in the list.
Next
|
  |
The Family field is filled in with the Waffle Makers family you just selected. Click Save and close to validate the creation.
Next
|
  |
Go back to the Browse Records view. In the Entity field, select Product and click Search. The newly created product displays at the end of the list of products. Double-click it to edit it.
Next
|
  |
The record's information displays in a new view. Click Journal to display the log information of this record.
Next
|
  |
Two logs are listed in the Journal: - the creation of the record, - its update, as the CheckAvailability job is automatically launched to update the Availability flag of each newly created product. You can double-click the UPDATE log for more information about it.
Next
|
  |
In the Data Changes Viewer view:The Waffle maker product information is displayed under the Update node. Under the Items node, the actual update made is displayed.
Next
|
  |
 | Trigger a job to validate a record
|
Go back to the Browse Records view. In the Entity field, select Product and click Search. Double-click the Talend Waffle Maker product to change its price.
Next
|
  |
In the Price field, increase the price by more than 15%. Click Save.
Next
|
  |
An error message box displays notifying you that this price increase is not allowed as the ValidatePriceRange Job is automatically executed each time you save a product in order to check the validity of its price.
Next
|
  |
Have a look to the JBoss Console: Whenever a Product is updated, the SynchronizeApps Job simulates a synchronization by logging the new record.
Next
|
  |
 | Integrate new products from external sources
|
In the Design Workspace of Talend MDM Studio:In the Repository, expand the Job Designs, MDMProductDemo, MDM_Load nodes. Double-click the AddProduct Job to open it.
Next
|
  |
This Job checks a list of new products against existing ones, add the new products in the MDM server and reject the duplicates.
Next
|
  |
In the Job Designer: Press Ctrl+S to save the Job. Press F6 to run it. The Run view displays at the bottom of Talend MDM Studio and the duplicate records are outputted in the console.
Next
|
  |
One new product has been added via the AddProduct Job. You can check it by going back to Talend MDM Web UI: In the Menus, select the Browse Records. In the Entity field, select Product and click Search. The newly created product displays at the end of the list of products.
Next
|
  |
Among the Jobs provided for the tutorial are Jobs allowing you to reset the demo. To access these Jobs: In the Design Workspace perspective of Talend MDM Studio:In the Repository tree view: Expand the Job Designs, MDMProductDemo, Maintenance nodes. You can right-click one of the provided Jobs and select Run Job in the menu. The Job will be executed and the demo or part of the demo will be reset according to the Job you just executed.
|