In this article you will find a list of Code Samples related to API Enablement of your PowerBuilder apps. These code examples are found at Appeon's CodeXChange.
**The list has been ordered from newest to oldest.
API Enablement Apps from CodeXChange | |
Name | Description |
JSON Enhancements sample code from Elevate 2020 |
Demonstrates [PowerBuilder / JSON / DataWindow] |
REST Client Enhancements sample code from Elevate 2020 |
Demonstrates: [PowerBuilder / RESTClient] |
WebAPI JSON to DataWindow |
This sample shows how you can interacts with WebAPI addresses by calling the HttpClient and JsonParser objects. [PowerBuilder / HTTPClient / JSONParser] |
Using Dropbox REST API from PowerBuilder Code |
Attached is the code behind the 5/22/2019 webinar: [PowerBuilder / RESTClient] |
Two Factor Authentication |
Sample code showing how to do two factor authentication using PowerBuilder [PowerBuilder / HTTPClient] |
OAuth Code & Token Example |
PowerBuilder supports getting secured data from the OAuth 2.0 authorization server. The Bearer access token is supported, and the following grant types are supported: [PowerBuilder / OAuthClient] |
u_json Object oriented JSON in PB |
JSON handling in PowerBuilder is fine to handle relational data, as long as it comes in the format defined by Appeon. But often, we need to work with data from an external interface, that’s where u_json comes in handy: You can parse, manipulate and/or generate all JSON files with the same object, in a true object oriented way. [PowerBuilder / JSON] |
Unit Testing sample code from Elevate 2020 |
Unit Testing sample code from Elevate 2020 [SnapDevelop / xUnit Testing] |
DataWindow Converter sample code from Elevate 2020 |
DataWindow Converter sample code from Elevate 2020 [SnapDevelop / DataWindow Converter] |
Web API testing demo from Elevate 2020 |
Web API testing demo from Elevate 2020 [SnapDevelop / Web API Tester Tool] |
PowerScript Converter demo code from Elevate 2020 |
Demonstrates how to use the PowerScript converter to create C# from PowerBuilder code. Particularly focuses on database interaction: [SnapDevelop / PowerScript Converter] |
Benchmarking PowerServer w/ and w/o WebAPI |
This demo shows how to call Web API from PowerServer. [PowerServer Web / Web API] |
Call a Web Service and Use a Web Service with a DataWindow |
This demo shows how to call Web services from PowerBuilder and PowerServer respectively using the SoapConnection and AppeonWebServiceComponent objects. It also includes sample code on using a Web service as the data source for a DataWindow and how to create a Web service from PowerBuilder. [PowerServer Web / SoapConnection] |
Export Data From a DataWindow to JSON and Import JSON Data to a DataWindow |
This demo shows how to implement JSON data import and export functions to a DataWindow with the eon_cjsonnode and eon_cjsonnodearray objects provided in appeon_workaorunds.pbl. [PowerServer Web / JSON / DataWindow] |
Comments (0)