PowerServer 2025 R2 supports loading DataWindow objects from
external libraries at runtime, for example, from PBL/PBD files added
via AddToLibraryList and
SetLibraryList.
This enhancement helps PowerServer applications make better use of InfoMaker's report customization capabilities. Users can customize DataWindow reports in InfoMaker according to their own business requirements, save them in external PBL/PBD files, and deploy these files separately from the main application. The PowerServer application can then load and use the customized reports at runtime, without rebuilding or redeploying the application.
When the EnableDynamicDWLoading option is
enabled, DataWindow objects from external libraries are loaded and
supported in the same way as dynamically created DataWindows. This
also enables full support for DataWindows with complex dependency
structures, such as Child DataWindows and Report or Composite
DataWindows.
By default, this feature is disabled for compatibility and
performance considerations. It can be enabled at runtime using the
CloudAppSet
function.
CloudAppSet("EnableDynamicDWLoading", "true")-
This option must be enabled before invoking
SetLibraryListorAddToLibraryList(that is, before loading external PBL/PBD files). -
Currently, only DataWindow objects are supported. Other dynamic objects in external libraries (such as embedded SQLs) are not supported.
-
DataWindow objects loaded from external libraries use the dynamic creation mechanism for data operations (Insert/Update/Delete/Select) and do not rely on compiled C# models. (DataWindow objects that are not dynamically loaded at runtime are not affected and behave the same as in previous versions.)


