Setting context parameters - 6.5

Talend Cloud

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Management Platform
Talend Data Services Platform
Talend MDM Platform
Talend Real-Time Big Data Platform
task
Data Governance > Third-party systems > Talend Cloud components
Data Quality and Preparation > Third-party systems > Talend Cloud components
Design and Development > Third-party systems > Talend Cloud components
EnrichPlatform
Talend Studio

You must define the parameters to connect to Dropbox and the parameter for the path to the customer file you want to process. Both parameters are defined as context parameters in this example. First because connection parameters must be context parameters, otherwise you may have a compile error when you try to publish the Integration Action to the Cloud. And second because context parameters are parameters you can pass to the Integration Action at runtime by using context variables which value you can change according to your needs.

This example assumes that you have imported the Cloud demo project in the Studio in order to have access to the ready-to-use context connection parameters in the Studio repository. If not, you can define them from scratch. For further information about the demo project and context parameters, see the Talend Studio Developer Guide.

Before you begin

  • You have imported the Cloud demo project in the Studio.

Procedure

  1. Open the Target Integration Action in the Studio.
  2. Click the Contexts tab below the design workspace.

    If the Contexts tab does not show in the Studio, click Window > Show view > Talend , and select Contexts.

  3. In the Contexts view:

    To...

    Do the following...

    Import the context connection parameter

    • click the icon and import the Dropbox connection from the Studio repository.

    • in the Value field, set the token you have generated via the App console of Dropbox for accessing the Dropbox App folder to be used.

    Define the file-path parameter

    • Add a line in the table and define the context parameter for the file path following the pattern parameter__<file_path>, all in lower case. Enter parameter_upload_path for this example.

    • In the Value field, set the path to the filterd customer file on Dropbox.