Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

How to detect unsupported features – PB Docs 2022 – PowerBuilder Library

How to detect unsupported features – PB Docs 2022

How to detect unsupported features

The PowerScript features will be analyzed during the build &
deploy process; and if any feature is detected to be unsupported by the
PowerServer Web APIs, it will be reported as an unsupported feature in the
Output window. Please note that not every unsupported feature can be
detected and listed, therefore, it is strongly recommended that you go
through the unsupported features/scenarios and discrepancies documented in
this guide and make sure they do not exist in your application.

The unsupported feature analysis option is disabled by default. To
enable this option, open the Application painter’s Properties view, and select the option “During
compilation, report unsupported PowerScript features for PowerServer
deployment” in the PowerServer tab
page.

ps_tutorial_94.png

With this option selected, the scripts will be analyzed for
unsupported features

  • when the Build & Deploy PowerServer
    Project
    option is selected.

    If any unsupported feature is detected, it will be displayed in
    the Output window | Unsupported (DWs) tab or Unsupported (PowerServer)
    tab.

    You can double-click the line or select Edit or Edit Source from
    the pop-up menu to open the object in the painter or source
    editor.

    ps_tutorial_91.png

    ps_tutorial_92.png

  • when the object is saved.

    PowerBuilder compiles each time when PowerScript is saved and
    displays the unsupported feature for PowerServer, regardless of the
    project type.

    If any unsupported feature is detected, it will be displayed as
    compilation warnings, as shown below.

    ps_tutorial_93.png

Make sure to modify the unsupported feature according to the
suggested workarounds in this guide. Even if there are no unsupported
features reported, it is still recommended that you go through the
following sections to find out what features/discrepancies cannot be
detected and why they are not working as expected in the installable cloud
app.

Tips:

If you want the analysis tool to ignore a piece of code, you can
place the code within these labels:
#begin_disable_ufa and
#end_disable_ufa.

For example, the SetTrans function in the
following example will not be reported as an unsupported feature.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x