Importing user-defined indicators from Talend Exchange - Cloud

Talend Cloud API Services Platform Studio User Guide

author
Talend Documentation Team
EnrichVersion
Cloud
EnrichProdName
Talend Cloud
task
Design and Development
EnrichPlatform
Talend Management Console
Talend Studio

You can import the .xmi files of user-defined indicators created by other users and stored on the Talend Exchange server into your current Talend Studio and use them on your column analyses.

You can import only versions that are compatible with the version of your current Talend Studio.

The indicators you can import from Talend Exchange include for example:
  • Order of Magnitude: It computes the number of digits between the minimal value and maximal value of a numerical column.
  • Email validation via mail server: This Java user-defined indicator connects to a mail server and checks if the email exists.

Before you begin

You have selected the Profiling perspective of Talend Studio.

Your network is up and running.

About this task

The below procedure shows how to import the Email validation via mail server indicator from the exchange server into Talend Studio.

Procedure

  1. In the DQ Repository tree view, expand Libraries > Exchange.
    If you have connection problems, you will not have access to any of the items under the Exchange node. A pop-up will prompt you to check your internet connection.
  2. Under Exchange, expand indicator and right-click the name of the indicator you want to import, a Java user-defined indicator in this example.
  3. Select Import in DQ Repository.
    You will have access only to versions that are compatible with the version of your current Talend Studio.

    The Import From Talend Exchange wizard opens.

  4. Select the Overwrite existing items check box if some error and warning messages are listed in the Error and Warning area.
    This means that an indicator with the same name already exists in the current studio. The imported indicator will replace the one in the Talend Studio.
  5. Click Finish.
    The user-defined indicator is imported from Talend Exchange and listed under the User Defined Indicators folder in the DQ Repository tree view.

Before being able to use this indicator on column analyses to check emails by sending an SMTP request to the mail server, you must define the indicator parameters as the following:

  1. Double-click the indicator to open the indicator editor.
    This Java user-defined indicator has three parameters set by default:
    • a buffer size that gives the number of invalid email addresses stored in memory before they are saved in a file.
    • a file path to the list of invalid email addresses.
    • the email of the sender.
  2. Modify the values of the BUFFER SIZE and INVALID DATA FILE according to your needs.
  3. In the Parameters Value column, set the value for the EMAIL parameter, that is the address of the sender on the SMTP server.
  4. Save the indicator.
    Note: If you have an error message when running a column analysis with this indicator, please check your email server configuration.
    You can also use the studio to create an SQL user-defined indicator or a Java user-defined indicator from scratch. For further information, see Creating SQL user-defined indicators and Defining Java user-defined indicators respectively.