Supported PowerBuilder features

The following PowerBuilder objects which are added in PowerBuilder 2019 are supported by PowerServer 2020 (Web only, no Mobile):

  • JSONPackage object

  • TokenRequest, TokenResponse, OauthClient, OAuthRequest, and ResourceResponse objects (for supporting OAuth 2.0)

  • CompressorObject and ExtractorObject (except for GetFileCount, GetFileList, and the two new Extract overloading functions)

  • CrypterObject and CoderObject (except for Base32Decode, Base32Encode, Base64UrlDecode, Base64UrlEncode, and SymmetricGenerateKey functions)

The following functions which are added or enhanced in PowerBuilder 2019 are supported by PowerServer 2020 (Web only, no Mobile, except specified otherwise):

  • HTTPClient object has the following enhanced functions (supported by both Web and Mobile):

    • SetRequestHeader

    • SendRequest

    • GetResponseBody

  • RESTClient object has the following new and enhanced functions:

    New functions:

    • Submit

    • SendDeleteRequest, SendGetRequest, SendPatchRequest, SendPostRequest, SendPutRequest

    • GetJWTToken, SetJWTToken

    • GetOAuthToken, SetOAuthToken

    • RetrieveOne

    Enhanced functions:

    • Retrieve

    • SetRequestHeader

  • JSONGenerator object has the following enhanced functions:

    • SaveToFile

    • GetJsonBlob

  • JSONParser object has the following new and enhanced functions:

    New functions/properties:

    • ContainsKey

    • ReturnsNullWhenError property

    Enhanced functions:

    • GetItemType

  • DataWindow, DataWindowChild, and DataStore has the following new functions:

    • ExportJson

    • ExportRowAsJson

    • ImportJson

    • ImportJsonByKey

    • ImportRowFromJson