Unresolvable external pbdom_document

The following error occurs when running the installable cloud app. There is no such error when running the PowerBuilder traditional C/S application.

Application terminated.
Error: Unresolvable external pbdom_document when linking reference at line 3 in clicked event of object cb_1 of w_pbdom_bug.


Cause

PBDOM220.pbd file cannot be found when PBDOM functions are executed.

Solution

Use PBDOM.pbx to replace PBDOM220.pbd.

1. Remove PBDOM220.pbd from the application and import PBDOM.pbx to the application’s PBL.

For how to add PBDOM.pbx to your application, refer to the following link: https://docs.appeon.com/pb2022r2/application_techniques/Adding_pbdom125.html.

2. Add PBDOM.pbx as external file in the PowerServer project, and then redeploy the project.