Skip to main content Skip to complementary content

Sharing custom components in Talend Studio

When working on a remote project, if a Talend Studio has custom components installed and in use in one or more Jobs, other Talend Studio instances connecting to the same remote project must also have the same custom components installed.

This is necessary to ensure that the Jobs can be correctly opened. Without the necessary custom components, you receive a warning message Some components are not loaded when you open a Job using a custom component that has not been installed on the system you are using to open the Job.

Talend Studio provides the ability to automatically install custom components. If you install custom components and share them in Talend Studio manually, subsequent connections to the same remote project by other Talend Studio instances will automatically detect and install custom components.

Creating an example Job

Before you begin

Download a custom component from TalendForge Exchange and install it in Talend Studio, in this example tFileOutputPDF. For more information , see Installing a custom component and Updating a custom component.

Procedure

  1. Launch Talend Studio and connect to a remote project, in this example p3.
  2. Create an example Job called SharingCustomComponent.
  3. Place the tFixedFlowInput and the custom component tFileOutputPDF from the Palette to the design workspace.
  4. Connect the 2 components together using a Row > Main connection.

Configuring the components

Procedure

  1. Double-click the tFixedFlowInput to display its Basic settings view.
  2. Click the [...] button next to Edit schema to define the input schema.
  3. Click the [+] button and add two input schema columns, in this example id as Integer and name as String.
    The two schema columns display automatically in the Values list.
    Schema columns
  4. Click in the Value column and type in a value for each of the input columns.
    • Set id to 1.
    • Set name to "talend".
  5. Double-click the tFileOutputPDF to display its Basic settings view.
    Basic settings
  6. Click Sync columns to synchronize the output file schema with the input file schema.
  7. Click the [...] button next to the Destination Name field and browse to the output file you want to print data in, out.pdf in this example.
  8. Press Ctrl+S to save your Job and close it.
    There is no need to run the Job, for this example the objective is just to see the Job that contains a custom component can be opened correctly in another Talend Studio instance.

Sharing custom components created using Talend Component Kit

Talend Studio allows you to share custom components created using Talend Component Kit to other users by following the procedure below.

Procedure

  1. Configure the artifact repository for sharing custom components in either one of the following two applications:
  2. Launch a Talend Studio instance, on which the custom component you want to share has not been installed.
  3. Create a folder named patches under the Talend Studio installation directory.
  4. Copy the .car archive file that contains the custom component you want to share to the patches folder.
  5. Restart your Talend Studio and open a remote project managed by Talend Management Console or Talend Administration Center.
    The custom component is deployed automatically to the artifact repository and is available to other users when they open a remote project with the same artifact repository configuration.

Sharing other custom components

Talend Studio allows you to share custom components, except the ones created using Talend Component Kit, by following the procedure below.

Before you begin

You have opened a remote project managed by Talend Management Console or Talend Administration Center.

Procedure

  1. On the toolbar of the Talend Studio main window, click Project settings or click File > Edit Project Properties from the menu bar to open the Project Settings dialog box.
  2. In the tree view of the dialog box, click the Custom component node to open the corresponding view on the right of the dialog box.
    Project Settings dialog box.

    If you have already installed any custom components in Talend Studio, these components display on the left part of the Custom component view.

    For more information about custom components, see Using custom components, Installing a custom component and Updating a custom component.

  3. Click the custom components of your interest, and then click Move right arrow to move the selected components into the Shared Components list.
    To revoke this sharing, select the components you want to stop sharing in the Shared Components list and click Move left arrow to move the selected components into the Custom Components list.
  4. Click Apply to validate this move.
  5. Click Apply and Close to close the dialog box.

Opening the example Job in another Talend Studio instance

Procedure

  1. Launch another instance of Talend Studio and connect to the same remote project, in this example p3.
    During the startup progress, Talend Studio will automatically detect the custom component from the remote Git repository and install it locally.
  2. Open the example Job SharingCustomComponent and see that you don't have the warning message Some components are not loaded, meaning the custom components are installed well in this Talend Studio.

    The custom component is installed into the local directory, in this example <Talend Studio_installation_path>\plugins\org.talend.designer.components.localprovider_6.4.1.20170623_1246\components.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!