PowerServer Toolkit User Guide

Appeon® PowerServer® 2020

FOR WINDOWS & UNIX & LINUX

DOCUMENT ID: ADC20231-01-2020-01

LAST REVISED: August 31, 2021

Copyright © Appeon. All rights reserved.

This publication pertains to Appeon software and to any subsequent release until otherwise indicated in new editions or technical notes. Information in this document is subject to change without notice. The software described herein is furnished under a license agreement, and it may be used or copied only in accordance with the terms of that agreement.

No part of this publication may be reproduced, transmitted, or translated in any form or by any means, electronic, mechanical, manual, optical, or otherwise, without the prior written permission of Appeon Inc.

Appeon, the Appeon logo, Appeon PowerBuilder, Appeon PowerServer, PowerServer, PowerServer Toolkit, AEM, and PowerServer Web Component are trademarks of Appeon Inc.

SAP, Sybase, Adaptive Server Anywhere, SQL Anywhere, Adaptive Server Enterprise, iAnywhere, Sybase Central, and Sybase jConnect for JDBC are trademarks or registered trademarks of SAP and SAP affiliate company.

Java and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc.

All other company and product names used herein may be trademarks or registered trademarks of their respective companies.

Use, duplication, or disclosure by the government is subject to the restrictions set forth in subparagraph (c)(1)(ii) of DFARS 52.227-7013 for the DOD and as set forth in FAR 52.227-19(a)-(d) for civilian agencies.

Appeon Inc., 1/F, Shell Industrial Building, 12 Lee Chung Street, Chai Wan District, Hong Kong.


Table of Contents

Introduction
PowerServer Toolkit in PowerBuilder
Web and/or mobile application development with PowerServer Toolkit
Before You Begin
Installing Appeon PowerServer
Configuring application database connectivity
Starting PowerServer
Configuring PowerServer Toolkit
Using PowerServer Toolkit Configuration Wizard
Configuring basic settings
Selecting PBL file(s)
Configuring deployment settings
Selecting DB Type(s)
Declaring transaction object(s)
Selecting image files
Selecting INI files
Selecting External files
Summary
Using Configure Tool
Managing application profiles
Managing database type profiles
Managing server profiles
Managing deployment profiles
Managing data source profiles
Using UFA Tool
Analyzing an application
Tasks required before you perform feature analysis
Accessing the UFA tool
Performing feature analysis
Undetected Unsupported Features
Working with UFA Report
Modifying unsupported features
Manipulating the UFA Report
Deploying PowerBuilder Applications
Deployment performance
Speed of Deployment Process
Deployment duration for full deployments
Deployment duration for incremental deployments
Deployment process
Preparing the PowerBuilder application
Specifying the deployment settings
Deploying the PowerBuilder application
Debugging PowerServer Web applications
Important Requirements
Introduction to the debugging procedure
Starting PowerServer Debugger
Views in PowerServer Debugger
Setting breakpoints
Code lines that can be set as breakpoints
Methods for setting breakpoints
Running the application in debug mode
Examining an application at a breakpoint
Special variable and expression handlings
Adding variables or expressions to Watch view
Changing the value of a variable or expression
Evaluating an expression
Examining context in Call Stack view
Stepping through the application
Fixing the code/stopping the debug procedure
Running PowerServer Applications
Requirements for running Web app
Windows account privileges
Internet Explorer settings
Language setting requirements
Disabling anti pop-up software
URLs of PowerServer applications
Running PowerServer applications
Launching applications from the Run button
Installing Appeon Workspace and mobile apps on mobile device
Installing IWA apps
Selecting a run mode for the Web app
Appeon DataWindow menu
Enabling Appeon DataWindow menu
Using Appeon DataWindow Menu
Using Information Manager
Viewing the reports and logs
Packaging Applications
Packaging a server deployment project
What can be packaged?
Creating a package profile
Packaging the server deployment project
Modifying the deploy-config file
Installing and uninstalling an application to the server
Packaging a stand-alone mobile project
Preparing for the mobile package (part 1)
Important tips for publishing apps to app store
Installing mobile templates
Creating a package profile
Packaging the mobile project
Customizing and packaging Appeon Workspace
Preparing for the mobile package (part 2)
Important notes (publishing Workspace to app store is not supported)
Installing mobile templates
Creating a package profile
Packaging Appeon Workspace
Undeploying PowerServer Applications
Undeploying instructions
Undeploying with the Deployment Profile mode
Undeploying with the PowerServer mode
Developing with Code Insight
Activating Code Insight
Configuring Code Insight
Enabling Code Insight
Coding with Code Insight
Launching AEM
Requirements
Launching AEM
Appeon PowerServer Help