Skip to main content Skip to complementary content

Setting user-defined parameters

You can use the Contexts view in the Studio to define context groups, context parameters and context values.

Before you begin

  • An artifact is created and open in the Studio.

About this task

With the R2020-07 Talend Studio patch, password type context parameters are treated more securely than before. Previously, the value of the password parameter was handled as a string, visible to all users with the correct workspace permissions. With this patch, the parameter value is treated as confidential information (encrypted):
  • When publishing an artifact for the first time, its value is cleared and has to be set for the corresponding task in Talend Management Console.
  • When you re-publish an artifact, its value in the corresponding task stays the same in Talend Management Console.
To request this patch, contact Talend support.

Procedure

  1. In the Studio workspace, click the Contexts tab to open the Contexts view.
    If the Contexts tab does not show in the Studio, click Window > Show view > Talend , and select Contexts.
  2. From the Contexts view:
    1. Use the [+] button at the top right corner to add a new context group.
      For further information, see Defining contexts.
    2. Use the [+] button at the bottom of the view to add lines in the table and define the names and values of the context variables.
      For further information, see Defining context variables for a Job or Route.
    Information noteNote: Context parameter values are processed differently when executing a task from Talend Management Console or Talend Studio. When entering the value for a context parameter in Talend Management Console during the task configuration, you must use \\ instead of \ when the value could be interpreted as a special character, for example, \t.

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 – let us know how we can improve!