Adding components to the Route - 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

Now that the Route is created, you need to add components to the design workspace, a cTimer, a cSetBody, and a cLog in this example.

There are several ways to add a component onto the design workspace. You can:

  • find your component on the Palette by typing the search keyword(s) in the search field of the Palette and drop it onto the design workspace. The keyword(s) can be the partial or full name of the component, or a phrase describing its functionality if you don't know its name.

  • add a component by directly typing the partial or full name of the component on the design workspace.

  • add an output component by dragging from an input component already existing on the design workspace.

Dropping the first component from the Palette

The first component of this example will be added from the Palette, the cTimer to trigger the message exchange.

To drop a component from the Palette, proceed as follows:

  1. Enter the search keyword(s) in the search field of the Palette and press Enter to validate your search.

    The keyword(s) can be the partial or full name of the component, or a phrase describing its functionality if you don't know its name, for example, timer, or generate message exchange. The Palette filters to the only families where the component can be found. If you cannot find the Palette view in the Studio, see How to change the Palette layout and settings.

    Note

    To use a descriptive phrase as keywords for a fuzzy search, make sure the Also search from Help when performing a component searching check box is selected on the Preferences > Palette Settings view. For more information, see Palette preferences (Talend > Palette Settings).

  2. Select the component you want to use and click on the design workspace where you want to drop the component.

Note that you can also drop a note to your Route the same way you drop components.

Adding the second component by typing on the design workspace

The second component of our Route will be added by typing its name directly on the workspace, instead of dropping it from the Palette.

Prerequisite: Make sure you have selected the Enable Component Creation Assistant check box in the Studio preferences. For more information, see How to use centralized metadata in a Job.

To add a component directly on the workspace, proceed as follows:

  1. Click where you want to add the component on the design workspace, and type your keywords, which can be the full or partial name of the component, or a phrase describing its functionality if you don't know its name. In our example, start typing cset.

    Note

    To use a descriptive phrase as keywords for a fuzzy search, make sure the Also search from Help when performing a component searching check box is selected on the Preferences > Palette Settings view. For more information, see Palette preferences (Talend > Palette Settings).

    A list box appears below the text field displaying all the matching components in alphabetical order.

  2. Double-click the desired component to add it on the workspace, cSetBody in our example.

Adding an output component by dragging from an input one

Now you will add the third component, a cLog, to log the message exchanges. We will add the component by dragging from the cSetBody component, which serves as an input component to the new one to be added.

  1. Click the cSetBody component to show the o icon docked to it.

  2. Drag and drop the o icon where you want to add a new component.

    A text field and a component list appear. The component list shows all the components that can be connected with the input component.

  3. To narrow the search, type in the text field the name of the component you want to add or part of it, or a phrase describing the component's functionality if you don't know its name, and then double-click the component of interest, cLog in this example, on the component list to add it onto the design workspace. The new component is automatically connected with the input component cSetBody, using a Row > Route connection.

    Note

    To use a descriptive phrase as keywords for a fuzzy search, make sure the Also search from Help when performing a component searching check box is selected on the Preferences > Palette Settings view. For more information, see Palette preferences (Talend > Palette Settings).