PB Docs 2022

PowerServer toolbar changes – PB Docs 2022

PowerServer toolbar changes The “Compile & Run Web APIs” tool has been removed from the PowerServer Toolkit toolbar. When you click the Run PowerServer Project button on the toolbar, the PowerServer Web APIs will be automatically compiled and run locally if it is not started. If the PowerServer Web APIs is not started yet, the…

Guide 4: Deploying multiple apps to one site – PB Docs 2022

Guide 4: Deploying multiple apps to one site Contents Creating an IIS web site Configuring and deploying the PowerServer project Converting the Web APIs to IIS sub-app Verifying the Web APIs Configuring the Web API URL In this guide, we will deploy two demo applications (Example Sales App and Example Graph App) to the same…

(Optional) Hosting the Web APIs separately – PB Docs 2022

(Optional) Hosting the Web APIs separately You can also copy files from the “[solutionname]_API” folder to the following hosting environment: Tutorial: Hosting Web APIs in Docker Containers Tutorial: Hosting Web APIs in IIS (in-process hosting) Tutorial: Hosting Web APIs in Kestrel (using Apache/Nginx/IIS as reverse proxy) Tutorial: Deploying installable cloud apps to Kubernetes Document get…

Select the database driver – PB Docs 2022

Select the database driver First of all, you must select the required database driver and agree to the driver license terms as the driver must be downloaded from the NuGet website. You must make this selection no matter where you will create the database connection (in the PowerServer project painter > Database page, in the…

Recording the scripts – PB Docs 2022

Recording the scripts Step 1: Return to HTTP(S) Test Script Recorder, and click Start. This will start the JMeter proxy server which is used to intercept the browser requests. Step 2: Click OK when prompted to install the certificate as shown below. Step 3: Keep the “Recorder: Transactions Control” window open during recording. Step 4:…

Publishing the Cloud App Installer – PB Docs 2022

Publishing the Cloud App Installer Contents Using Nginx Container Using IIS Container Creating a home page Tagging and pushing the image Creating the container instance Document get from Powerbuilder help Thank you for watching.

Using Dockerfile – PB Docs 2022

Using Dockerfile After you create the package of the installable cloud app, you can create a docker image from the Web API folder. You can do this by the Dockerfile. Docker Desktop is required to be installed on the machine in order to execute the docker commands and the Dockerfile. To build a docker image…

For Oracle database server – PB Docs 2022

For Oracle database server Oracle includes a pseudo-column called ROWNUM which allows you to generate a list of sequential numbers based on ordinal row. If your application uses the Oracle database, apply your Oracle skills and ROWNUM to limit the number of returned rows. For example, this query selects the 10 rows from a table:…

Task 3: Publishing to Docker – PB Docs 2022

Task 3: Publishing to Docker Contents Preparing the development PC Modifying and re-deploying the PowerServer project Publishing Web APIs to Docker Specifying the Web API URL Document get from Powerbuilder help Thank you for watching.

64-bit database cannot be connected from IIS – PB Docs 2022

64-bit database cannot be connected from IIS When connecting with a 64-bit database (such as informix, ASE etc.) from the PowerServer Web APIs that runs in the same process as its IIS worker process (in-process hosting), the following error occurs:

Cause: A 32-bit (x86) self-contained deployment published with a 32-bit SDK that uses the…