User guide

Creating view models
44 Data Integration with Sybase Avaki Studio
Configuring input sources
In our view model, Input Source elements represent the database operations that pro-
vide input to the data service. Follow these steps to configure input sources.
Step 1 To create an Input Source element, drag the database operation from the data catalog
view into the view model pane. Studio creates an Input Source element with the same
name as the database operation.
Step 2 Double-click the Input Source element to open the Input Source Properties dialog.
Step 3 Click in the Name field and change the name to the name of the database operation—
getAllDepts or getEmpGivenName.
Step 4 If the dialog reports any unmapped parameters, click Edit Values to display the
Parameter Properties dialog. You must map the getEmpGivenName database opera-
tion’s input parameter, EmployeeName, to a new global parameter of type VARCHAR.
For instructions on mapping parameters, see “Input Source Properties” on page 126.
Repeat this procedure to configure an Input Source element for another database
operation. When you’ve configured Input Source elements for both the getAllDepts
and GetEmpGivenName database operations, your view model looks like this.