Context Download

Context Download service is used to generate XML from a context variable. This is required when the context variable's information is to be stored in some target. This information can be passed as stream to other activities.

For example, if you want to store variables and their values present in the context as per schema defined to any target activity like database target, File Target, then context download activity can be used. It will generate XML of context variables and their values, which can be further used.

Steps to create Context Download service:

  1. Click Configure > OTHERS > Context Download.

  2. Click Create Context Download.



  3. Enter the name and description for Context Upload in the in the Name and Description fields.
  4. Select the layout activity from the Schema Name drop-down list.

  5. To define the context variable, click the Define context variable(s) button. The Map Context Variable screen is displayed.



  6. Expand the selected schema by clicking [+]. All fields of selected schemas are displayed.

  7. Enter a name for the context variable in the textbox Variable Name.

  8. Select the schema element, which you want to map with the above defined variable. The XPath of the selected element is displayed in the textbox Mapping.

  9. Click the Apply button. Value of the selected schema element is displayed in the Variable Value field.

  10. Repeat steps from 7 to 9 to map the context variable with other elements.
  11. Select the Nullable checkbox in case you want this variable to allow blank value.
  12. Click OK button to return to the Create Context Download screen.

  13. Expand the Advanced Properties section and select the Project from Project drop-down list.

  14. Click Save.