User guide

Data Integration with Sybase Avaki Studio 55
Common features of view model components
For example, to add an Order By operator to your model using the palette:
Step 1 Open an Avaki view model file (double-click a .avm file in the Navigator in the left
pane) or create a new one (see “Creating a project” on page 14 for instructions).
Step 2 Select the Order By tool in the palette. If the “Operators” section of
the palette is collapsed, click to open it, exposing the Order By tool.
Step 3 Click in the view model editor pane to place an Order By operator.
Once the operator is in your model, you can move it around (see “Selecting and mov-
ing elements” on page 56), connect it to other elements in your model (see “Creating
connections between elements” on page 57), or edit its properties (see “Properties dia-
logs” on page 58).
Creating Input Source elements using drag and drop
When you want to create an Input Source based on an item in the Avaki data catalog,
you can do so by dragging and dropping an icon from the data catalog view directly
into the view model editor.
Avaki Studio configures the Input Source element as much as possible, depending on
the type of object you dropped into the view model. For example, if you drop in a data-
base operation, Studio configures the Input Source element to point to that database
operation, and not to have any associated transform. If, however, you drop in an XML
file, Studio configures the resulting Input Source object to be a file type pointing to
the path of your file, and having an XML-to-Result-Set transform.
You can also always construct an Input Source element by using the Input Source
tool in the palette and configuring it manually. And note that you must use the Input
Source tool in the palette to create input sources based on HTTP requests or web ser-
vices. Refer to “Input Source” on page 125 for details on configuring input source ele-
ments.
To use drag and drop to create an Input Source element:
Step 1 Open an Avaki view model (double-click a .avm file in the Navigator in the left pane)
or create a new one (see “Creating a project” on page 14 for instructions).
Step 2 Make sure you have the Avaki data catalog view open in the left pane. If it is not open,
open it by choosing Window > Show View > Data Catalog.