Configuring and deploying the PowerServer project – PB Docs 2022
Configuring and deploying the PowerServer project Let’s directly use the sample PowerServer project for the two demo applications and deploy them one by one. For Example Sales App (SalesDemo), you can locate the salesdemo_cloud project file in salesdemo.pbl, and double click to open it in the painter. For Example Graph App, you can locate the…
Installing Web Deploy – PB Docs 2022
Installing Web Deploy You will need to install the Web Deploy supporting tool if you want to deploy the PowerServer project to the remote IIS server from the PowerBuilder IDE. Note Web Deploy must be installed after IIS is installed. If you have installed Web Deploy before IIS, uninstall Web Deploy and then choose the…
Modifying the PowerBuilder client app – PB Docs 2022
Modifying the PowerBuilder client app Contents Purpose Add scripts Add an INI file Start session manually by code Modify and re-deploy the PowerServer project Document get from Powerbuilder help Thank you for watching.
Modify and re-deploy the PowerServer project – PB Docs 2022
Modify and re-deploy the PowerServer project Step 1: Add the INI file CloudSetting.ini to the Files preloaded in uncompressed format section under the Application page. Step 2: Select RESTClient Support and WebBrowser Support (Used for scenario 3) under the Runtime files group in the Application page > Advanced tab. Step 3: Double check that Use…
Integrating with Jenkins – PB Docs 2022
Integrating with Jenkins The PBAutoBuild220 command can integrate with Jenkins to automate the build and deployment process for PowerServer projects. Refer to the Jenkins user documentations for how to use Jenkins. Following gives a few examples on how to integrate the PBAutoBuild220 and dotnet commands with Jenkins. Example 1: to execute the PBAutoBuild220 command and…
Installing Apache HTTP Server – PB Docs 2022
Installing Apache HTTP Server Step 1: Select a binary package provider for Apache for Windows from https://httpd.apache.org/docs/current/platform/windows.html#down. Step 2: In this tutorial, select Apache Lounge, and then download the following packages from https://www.apachelounge.com/download/. Visual C++ Redistributable for Visual Studio 2015 – 2019: https://aka.ms/vs/16/release/VC_redist.x64.exe Apache 2.4.47 Win64: https://www.apachelounge.com/download/VS16/binaries/httpd-2.4.47-win64-VS16.zip Step 3: Double click VC_redist.x64.exe to install the…
Modifying the Web API URL – PB Docs 2022
Modifying the Web API URL You must modify the Web API URL to point to the Apache reverse proxy server. Step 1: Go to the [appname] folder (for example, “salesdemo_cloud”) on the web server and open the apprun.json file in a text editor. The web server and the Apache reverse proxy server can reside in…
Installing Web Server (IIS) – PB Docs 2022
Installing Web Server (IIS) Step 1: In Windows Server 2019, open Server Manager, and then select Add roles and features. Step 2: In the Add Roles and Features Wizard, click Next several times until the Server Roles section displays. Step 3: Click the check box of Web Server (IIS); and then click Add Features when…
Modifying the authentication template – PB Docs 2022
Modifying the authentication template The Azure AD B2C server address must be provided so that the PowerServer Web APIs can use it to validate the token passed from the client. And if validation is successful, it can get data from the database. Note The authentication template will be restored if the “Auth Template” option is…
Preparing the environment – PB Docs 2022
Preparing the environment Step 1: To build and deploy the PowerServer project using the command-line tool (instead of within PowerBuilder IDE), install the following software. Windows 11 or 10, or Windows Server 2022, 2019, or 2016 PowerBuilder Utilities 2022 R2 The command-line tool (PBAutoBuild220.exe) is included in PowerBuilder Utilities. PowerBuilder Runtime 2022 R2 PowerServer Toolkit…