PowerBuilder installable cloud apps deployed in GA 1288 cannot work with Build 1311, you will have to re-deploy the application by following steps below:
-
Select the required database types and agree to the license terms of the database drivers that will be downloaded.
To do that,
-
Open the PowerServer project painter in the PowerBuilder IDE, select the Web APIs tab, and click the Database Configuration button.
-
In the Database Configuration window, click the DB Drivers button, and then select the database type used in the application and the check box of "I have read and agree to the license terms...". Click OK.
-
-
Deploy the application again using the Build & Deploy PowerServer Project option in the PowerBuilder IDE.
Or, export the JSON build file again and then re-deploy the application using PBAutoBuild. For how to export the build file and deploy with PBAutoBuild, see Build & deploy using commands.
-
Upload the Cloud App Launcher and Runtime files to the server again. For detailed instructions, refer to Upload the cloud app launcher and the runtime files.
PowerServer C# solutions created in GA 1288 will need to be updated because changes have been made to the template of the PowerServer C# solution. You will either have to
-
Generate a brand new PowerServer C# solution (in Build 1311)
This new solution will be generated from the latest template. However, if you have made your own changes to the solution before, those changes will not be retained in the new solution, you will need to manually incorporate those changes to the new solution.
-
Or, use the existing PowerServer C# solution
This can keep your own changes in the solution. The solution will still use the old template even if you use Build & Deploy PowerServer Project in PowerBuilder IDE at Build 1311 to build the solution again. You will have to manually change the following areas in the solution (to be in sync with the new template):
-
Upgrade PowerServer.Core and PowerServer.Api to the latest compatible version. See this table for a list of NuGet packages compatible with the application deployed via PowerServer Toolkit from different builds.
-
Add the following scripts to Startup.cs:
using PowerServer.Core;
services.AddPowerServerDataProvider(this.GetType().Assembly);
-