DataWindow-to-model conversion optimization

The process of exporting duplicate DataWindows from a PowerServer project has been optimized to align with PowerBuilder standards.

Old behavior

  • When multiple PBLs contained DataWindows with the same name, all of them were exported.

  • This caused duplicate models in the project output.

  • Although a UFA warning was displayed, compilation would fail and Web APIs could not start properly.

New behavior

  • Only the DataWindow from the first PBL in the project list will be exported. Other DataWindows with the same name from later PBLs will not be exported.

  • If an existing exported DataWindow file belongs to a later PBL, it will be automatically removed from the output folder.

  • This behavior now matches the PowerBuilder native client/server project, which also only recognizes the first DataWindow when duplicate names exist.

Note

If duplicate DataWindows exist across multiple PBLs, only the one from the first PBL in the project list will be exported. Others will be ignored. Adjust the PBL order when necessary to ensure the correct DataWindow is exported.