A new framework is available to build custom
components and must be used from this version onwards. Refer to Developing a component using Talend Component Kit. This document still applies for
components downloaded from
Talend Exchange.
You can download and install custom components for use in the
Integration
perspective of Talend Studio.
For further information about downloading and installing components from
Talend Exchange,
see How to install and update a custom component.
The following procedure applies only to the external components.
The user component folder is the folder that contains the components you
created and/or the ones you downloaded from
Talend Exchange. To
define it, proceed as follows:
Procedure
-
In the tree view of the Preferences dialog box, expand the
Talend
node and select Components.
-
Enter the User component
folder path or browse to the folder that contains the custom
components to be added to the Palette of
the Studio.
In order to be imported to the Palette
of the Studio, the custom components have to be in separate folders located
at the root of the component folder you have defined.
Note: If some pieces of code
need to be reused by the javajet files of your custom components, you need
to create a folder templates under the user component
folder and put your reusable code there. For example, if there is a reusable
code file Log4jFileUtil.javajet under the folder
templates, you can reuse it in other javajet files
by adding <%@ include
file="../templates/Log4jFileUtil.javajet"%>
.
-
Click Apply to validate
the preferences. You can also click Apply and
Close to validate the preferences and close the dialog
box.
The Studio restarts and the external components are added to
the Palette.
Results
This configuration is stored in the metadata of the workspace. If the
workspace of Talend Studio changes, you
have to reset this configuration again.