Creating New Service Parameters

Service Parameters adopt the “orange” theme with entity enclose in parentheses icon and contain the following expandable/collapsible groups:

·            Properties

 

New Service Parameters can be created in following different ways:

Drag and drop from Standard Tools

Dragging and dropping the “Entity (Service Parameter)” from the Standard Tools on to the Design Canvas creates a new Service Parameter.

 

In this case, it creates a blank Service Parameter and user adds properties one at a time. Below is the suggested work flow for creating new Service Parameter:

1.    Drag and drop “Entity (Service Parameter)” from the Standard Tools on to the Design Canvas.
The Designer automatically adds the system generated properties “InternalKey” and “NavigationKey”.

2.    On the Properties Pane, specify the appropriate Entity name and Entity Set name.

Unlike other entity types, the Service Parameter type can have both primitive and complex type property. Primitive type property can be of data type string, integer, date, etc. and whereas the complex type property can be another Service Parameter.

3.    To add scalar properties, perform the following:

a.    Right-click on the entity and select Add Scalar Property.

b.    Add as many properties as needed.

c.    Click on each property and on the Properties Pane, specify the appropriate Property Name.

d.    On the Properties Pane, assign each property to appropriate Data Type from the drop-down.

4.    To add complex properties, perform the following:

a.    Right-click on the entity and select Add Complex Property.

b.    Add as many properties as needed.

c.    Click on each property and on the Properties Pane, specify the appropriate Property Name.

d.    On the Properties Pane, assign each property to appropriate Entity by selecting from the Entity Chooser.
hu

Since the Service Parameter is used only with Service Operations, this does not need any API mapping.

Cloning from Existing Service Parameter

Any existing Service Parameters can be cloned to produce a new Service Parameter. Please see the "Cloning from Existing Entities" section in Creating New Read-Only Entities for the suggested work flow for cloning the new Service Parameter entity from an existing entity.

See also:

·            Creating New Read/Write Entities

o           File Uploading via Read/Write Entities

·            Creating New Read-Only Entities

·            Creating New Entity Views

·            Creating New Associations

·            Creating New Service Operations