Web API request log – PB Docs 2022
Web API request log You can enable logging for the PowerServer Web API requests at the client, by adding the following setting to the PB.INI file (this INI needs to be deployed to the server):
1 2 |
[PowerServer] Api_log = 1 |
The log file (such as api202106241530.log) will be generated at %AppData%PBAppsApplications[appname]log. Document get from Powerbuilder help Thank you for…
Web API URL – PB Docs 2022
Web API URL The installable cloud app must work with the PowerServer Web APIs to handle the database connections, data processing, PowerServer license activation etc., therefore, each client app must be configured with a Web API URL. If you have specified the site URL when configuring the server or creating the package in the IDE,…
Web API URL enhancements – PB Docs 2022
Web API URL enhancements You can specify the Web API URL in the following ways: Each client app now will contain an apprun.json configuration file. This file tells the client app where to download the launcher and runtime and where to connect with the Web APIs.
1 2 3 4 5 6 7 |
{ "deployment_urls": { "launcher": "CloudAppPublisher/CloudAppInstall 22.0", "runtime": "CloudAppPublisher/runtime/22.1.0.2670", "web_api": "http://localhost:5099" } } |
The launcher URL and the runtime URL can…
Web file download log – PB Docs 2022
Web file download log When you launch an installable cloud app at the client side, Cloud App Launcher is first downloaded and installed, and then the app files. The download log of all the web files can be found at the client side at %LocalAppData%Launcherlog. The app file download logs are at %AppData%PBAppsApplications[appname]log. Document get…
What is a cache – PB Docs 2022
What is a cache Cache (also known as connection cache or database cache) is a mechanism employed in PowerServer to store and manage database connection information. It is responsible for maintaining the necessary details required to connect to the database server, including user ID, password, database connection string, and other essential information. PowerServer leverages the…
What settings can be modified in the solution – PB Docs 2022
What settings can be modified in the solution The AppModels and ServerAPIs.Tests projects should NOT be modified after generation. Only a few settings in the ServerAPIs and UserExtensions projects can be modified. Note: For any setting that is not specified in the following table, please DO NOT modify it. Settings that can be modified Where…
What settings will be deployed to the solution – PB Docs 2022
What settings will be deployed to the solution Although the PowerServer C# solution allows you to make changes to it, you will have to be aware that some settings in the solution might be updated every time when the PowerServer project is built and deployed in the PowerBuilder IDE. PowerServer project settings Will be updated…
Why parameterization and correlation are required – PB Docs 2022
Why parameterization and correlation are required Parameterization and correlation are required for unique/dynamic values that are generated by the server. In the case of PowerServer, the access token, session ID, and transaction ID are all unique/dynamic values generated by PowerServer at runtime. If you re-play the scripts without first changing the value recorded, the scripts…
Why test mode is required – PB Docs 2022
Why test mode is required The main dynamic values in the recorded script for installable cloud apps are “sessionid” and “transactionid”. Both values are dynamic and can only stay valid for a short time, therefore, it is necessary to capture them and save them into variables in the script. Specially, about “sessionid”: Because all the…
Viewing the recorded scripts – PB Docs 2022
Viewing the recorded scripts The recorded HTTP requests will be listed in the tree on the left panel. You can manually remove any HTTP requests that are not needed. Document get from Powerbuilder help Thank you for watching.