You can export metadata definitions as context groups to use their parameters on a
Job level, rather than a component level.
Procedure
-
In the Repository, expand , right-click the file delimited metadata of your choice and click
Edit file delimited.
-
The metadata has already been set up, click
Next twice.
You are brought to
Step 3
in the wizard.
-
Click
Export as context.
-
Select
Create a new repository context.
-
Click Next.
-
In the Name field,
enter a name.
Example
moviesContextGroup
- Optional:
In the Purpose
field, enter a purpose.
Example
Reusing my movie metadata as context
- Optional:
In the
Description field, enter a description.
Example
File delimited metadata as a context group
Information noteTip: Enter a Purpose
and Description to stay organized.
-
Click Next.
All parameters have been changed to variables with the default
values.
-
Click Finish
You are brought back to the Edit an existing Delimited
file window.
-
Click Finish.
- Optional:
Select if you want to propagate the modifications to all Jobs.
- Optional:
Select the items you want to update.
- Optional:
Click
OK.
- Optional:
Select if you want to add the context parameters to Jobs using this
connection.
Results
In the
Component view of the
movies component, you may see that all the default
property values have been replaced by context variables.