Page tree
Skip to end of metadata
Go to start of metadata

In the application, using regular Data Sources whenever just simple CRUD operation are involved may lead to making an unnecessarily large number of back-end calls that take a long time. In these situations, using Dynamic Data Sources (DDS) is more suitable, as everything is controlled from the repository.

A Dynamic Data Source is specified through its Data Source Object (DSO). The generation and configuration of DDS can be found here. The generated DSO can be used normally as PrimarySdo target.

In the Design tab, ensure you specify the resourceName attribute as Akioma.Swat.OERA.Dynamic.SwatDynamicBusinessEntity, to which you append the DSO name (using pipe |), and its ServerEventsHandler, as in the image below.

During development, a sample events handler for the DSO can be used as basis by typing b1-datasourceEventsHandler.

  • No labels