Appeon Developer User Guide

Appeon® for PowerBuilder® 2016

FOR WINDOWS & UNIX & LINUX

DOCUMENT ID: ADC20231-01-0700-01

LAST REVISED: December 27, 2016

Copyright © 2000-2016 by Appeon Limited. 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 Limited.

Appeon, the Appeon logo, Appeon Developer, Appeon Enterprise Manager, AEM, Appeon Server and Appeon Server Web Component are registered trademarks of Appeon Limited.

SAP, Sybase, Adaptive Server Anywhere, SQL Anywhere, Adaptive Server Enterprise, iAnywhere, PowerBuilder, 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 Limited, 1/F, Shell Industrial Building, 12 Lee Chung Street, Chai Wan District, Hong Kong.


Table of Contents

Introduction
Appeon Developer toolbar in PowerBuilder
Web and/or Mobile application development with Appeon Developer
Before You Begin
Installing Appeon for PowerBuilder
Configuring application database connectivity
Starting Appeon Server
Configuring Appeon Developer
Using Appeon Developer 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 Appeon Web Applications
Important Requirements
Introduction to the debugging procedure
Starting Appeon Debugger
Views in Appeon 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 Appeon Applications
Requirements for running Web app
Windows account privileges
Internet Explorer settings
Language setting requirements
Disabling anti pop-up software
URLs of Appeon applications
Running Appeon 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
Launching Appeon Workspace Emulator
Using Information Manager
Viewing the reports and logs
Packaging Applications
Packaging a server deployment project
What can be packaged?
Packaging instructions
Modifying the deploy-config file
Installing and uninstalling an application to the server
Preparing for the mobile package
Preparations for the iOS package
Preparations for the Android package
Preparations for the Appeon Workspace package
Packaging a stand-alone mobile project
Points to check before packaging
What will be packaged?
Packaging instructions
Customizing and packaging Appeon Workspace
Undeploying Appeon Applications
Undeploying instructions
Undeploying with the Deployment Profile mode
Undeploying with the Appeon Server mode
Developing with Code Insight
Activating Code Insight
Configuring Code Insight
Enabling Code Insight
Coding with Code Insight
Launching Appeon Enterprise Manager
Requirements
Launching Appeon Enterprise Manager
Converting screen size between points and PBUs
Appeon for PowerBuilder Help
Extended Toolkit
DLL/OCX Files Package Tool
Packaging DLL/OCX files
Installing and uninstalling DLL/OCX files
Appeon Developer Toolbar Register Tool
Index