Skip to main content Skip to complementary content

Using items from referenced projects

When one project references another, all items in the referenced project are available for reuse from the main project.

For example, you might want to create a library of reusable subroutines in a project. Or you might want to create similar project settings to reuse in other projects.

Before you begin

  • You have read-writing authorization for the main and referenced projects. For further information, see Talend Administration Center User Guide.
  • You have opened the main project in the Studio.

Procedure

  1. From the main project, open the Job on which you want to use an item from the reference project.
    Below is an example of a Project2 tree view in Talend Studio.
    As you can see in the above figure, all resources in Project1 and Project3 are accessible directly from Project2. The resources in the two referenced projects are in read-only mode: they are available for reuse but cannot be modified.
  2. Use any element from the reference project in the open Job.
    For example double-click a component in the Job and call a user-routine from the reference project, or drop context variables created in the reference project to the open Job in the main project.
  3. Run your Job with the new routine or context variables.
    Items and resources in the referenced projects are always up-to-date since the refresh option in Talend Studio will refresh EVERY item in the studio. However, the refresh operation could be quite long if you have too many references and items in each of your projects. It is therefor preferable not to use very big referenced projects, especially if you use the database repository.

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!