Show TOC

Dynamic System ResolutionLocate this document in the navigation structure

Use

The dynamic system resolution feature enables you to create a service that selects at runtime the system to which an iView connects.

Generally, an iView connects to a system that is defined at design time. With dynamic system resolution, an iView can select at runtime from among several systems, based on the location of the current user, network traffic or any other logic.

For example, for a specific iView, you may want users in Europe to connect to a system in Germany while users in the United States connect to a similar system in New York.

How System Resolution Works

An iView that needs to connect to a back-end system contains a reference to a system alias. The iView - via the Connector Gateway or other service - calls the system landscape service method getSystemId() in order to resolve the alias to a specific system defined in the Portal Content Directory (PCD). By default, the system landscape service simply queries the PCD for the system that is associated with that alias, and returns the PCD path to that system.

In the PCD, a system alias is associated with only one system.

In order to resolve an alias to a different system, you can create a system resolving service for a specific alias. When an iView calls getSystemId() to resolve the alias, the system landscape service first checks if a custom service exists for the alias. If one exists, the system landscape service calls the resolving service instead of querying the PCD in order to get the corresponding system.

The resolving service, which receives from the system landscape service the name of the alias and a reference to the current user, can resolve the alias to any system based on any logic.

Note

If a system alias used by dynamic system resolution is also used by a static system, the resolving service is ignored and the PCD path of the static system is returned.

This section contains the following information: