Unsupported feature
External libraries (such as PBD files) which contain DataWindow
objects and embedded SQLs are not supported, because the DataWindows
and/or embedded SQLs included in the external libraries (added via the
SetLibraryList and AddToLibraryList
functions) cannot be parsed to the PowerServer C# models.
During the app compilation, all the database-related constructs need to be parsed into the C# Web API project, from the PBL source code (not from the PBD file).
Workaround
For DataWindows, turn on the EnableDynamicDWLoading
option via the CloudAppSet
function, so that DataWindow objects from external libraries (such as
PBD files) are loaded and supported in the same way as dynamically
created DataWindows.
For embedded SQLs, if you have the PBL source code for the PBD file, you can manually convert the embedded SQLs from the corresponding PBL file through .NET DataStore project. If you have no PBL source code for the PBD file, you can consider making PBD an independent native PowerBuilder application and then calling this application, similar to Data pipeline.


