Context Download activity 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.
This feature is available in:
Enterprise | Premier | Professional | Express |
---|---|---|---|
?√? | √ | ?√ |
|
Steps to Create Context Download activity
- On the Adeptia Suite homepage, click the Develop tab.
Go to Services > Miscellaneous and then click the Context Download.
...
The Manage Context Download
...
screen is displayed (see Figure 604)
...
...
Figure 604: Manage Context Download
- Click the Create New link. The Create Context Download screen is displayed.
- Enter the name and description for Context Download in the textboxes Name and Description fields respectively.
Select the schema activity from the dropdown list Schema Name (see Figure 605).
...
...
Figure 605:
...
Create Context Download
To define the context variable, click the Define context variable(s) button. The Map Context Variable screen is displayed (see Figure 606).
...
...
Figure 606: Map Context Variable
Expand the selected schema by clicking [+]. All fields of selected schemas are displayed (see Figure 607).
...
...
Figure 607: Expand Schema
Enter a name for the context variable in the textbox Variable Name (see Figure 608).
...
...
Figure 608: Enter Variable Name
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 (see Figure 609).
...
Figure 609: Map Schema Element with Variable
Click the Apply button. Value of the selected schema element is displayed in the Variable Value field (see Figure 610).
...
...
Figure 610: Apply Map
- Repeat steps from 8 to10 to map the context variable with other elements.
- Select the Nullable checkbox in case you want this variable to allow blank value.
Click OK button to return to the Create Context Download screen.
Info To learn about Advanced Properties refer to Changing Advanced Properties section.
- Click the Save button.