Show TOC

Creating OperationsLocate this document in the navigation structure

Use

To create operations for your data model (for example, Read, Query), proceed as follows.

Procedure
  1. Right-click the Operations folder and select Create Operation.

    The Create Operation popup displays.

  2. Enter an Operation Name and select the green checkmark to continue.

    The new operation appears under the Operations folder in the tree view on the left and the Properties Editor displays so that you can define the operation:

    Creating an operation

    There are no mandatory fields.

    The Semantics field displays the text action and is read-only.

  3. Create an input property in the Input Parameter section by selecting the Insert Row icon underneath the table and then simply type in the details in the first table row. Fill in the Name, External Name, and Type columns. Search help is available to select a type in the Core Data Type column.

    To delete an input property, select it in the table and choose the Delete Row icon.

  4. Select the output data object in the Output Node field in the Output Parameter section. Search help is available.

  5. Save your entries.

  6. If you want to change the input or the output parameters at a later time, double-click the operation, change to edit mode, and select the Insert Row or Delete Row icon underneath the table. The Insert Row icon creates a new row in the table with the text New in the Name column.

    You can also change the output data object by typing in a new one or using the search help.

    Rename and delete options are available from the operation context menu.

The following fields are available for editing in the Properties Editor; the other fields are read-only.

Field

Description

Default

External Name

Name of the operation as represented in the external service, service document, and metadata document.

<operation name>

Input Parameter

Name

Name of the input property for the operation.

NEW (when inserting a row)

External Name

Name of the input property as represented in the external service, service document, and metadata document.

 

Type

Type allowed from OData that is used at runtime, for example, Edm.String is for fixed or variable length character data. Only available for core types.

 

Output Parameter

Output Node

Name of the output data object for the operation.