Administrator

Assigning and Removing OData Service Destinations

Context

Assign destinations for the service, if all entity sets which are part of the service use the same back-end destination. Assign destinations for the entity sets if all the entity sets which are part of the service use different back-end destinations. If the scenario uses function import for which you have assigned custom code as datasource, then you may assign the destination for the custom service at the function import level.

Procedure

  1. To assign destinations for the service:
    1. In the Management Cockpit, select Start of the navigation path OData Services Next navigation step Services End of the navigation path.
    2. Select the service for which you want to assign a destination.
    3. On the service overview screen, click Assign Destinations for the Service.
    4. Click Add Destination.
    5. Choose the destination from the list and click OK. The assigned destination appears in the Destinations section.
    6. Select the assigned destination and click Set as Default.
  2. To assign destinations for entity sets or function imports:
    1. In the Management Cockpit, select Start of the navigation path OData Services Next navigation step Services End of the navigation path.
    2. Select the service for which you want to assign a destination.
    3. On the service overview screen, click Assign Destinations for EntitySets or Function Imports.
    4. Click Add Destination.
    5. Enter the name of the entity set or the function import.
    6. Choose the destination from the list and click OK.
  3. To remove assigned destinations:
    1. In the Management Cockpit, select Start of the navigation path OData Services Next navigation step Services End of the navigation path.
    2. Select the service from which to remove the destinations.
    3. On the service overview screen, under Destinations, select the destination , click Remove Destination.