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 enables more flexible reporting scenarios, such as
user-defined reports and complex InfoMaker reports.
When the EnableDynamicDWLoading option is enabled,
DataWindow objects from external libraries are loaded and supported in
the same way as dynamically created DataWindows. This provides full
support for DataWindows with complex dependency structures, including
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). -
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.)
-
Currently, only DataWindow objects are supported. Other dynamic objects in external libraries (such as embedded SQLs) are not supported.


