Getting Started

PowerServer Mobile® 2017

FOR WINDOWS & UNIX & LINUX

DOCUMENT ID: ADC50009-01-0700-01

LAST REVISED: January 29, 2019

Copyright © 2000-2018 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 PowerBuilder, Appeon PowerServer, PowerServer, PowerServer Toolkit, AEM, and PowerServer Web Component are trademarks of Appeon Limited.

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 Limited, 1/F, Shell Industrial Building, 12 Lee Chung Street, Chai Wan District, Hong Kong.


Table of Contents

Welcome to PowerBuilder & PowerServer Mobile
Introduction to PowerBuilder
What PowerBuilder is
The PowerBuilder environment
PowerBuilder objects
Introduction to PowerServer Mobile
What PowerServer Mobile is
The PowerServer Mobile n-tier architecture
About this tutorial
Learning to install PowerBuilder and PowerServer Mobile
Learning to build a mobile application
Learning to deploy a mobile application
Installing PowerBuilder & PowerServer
Setting up the environment
Prepare the environment
Disable UAC (User Account Control)
Install IIS
Configure IIS
Installing PowerBuilder and PowerServer
Installing PowerBuilder and PowerServer
Verify the PowerServer installation
Install Appeon Workspace (on the iPad)
Configure the network connection
Building a Mobile Application
Starting PowerBuilder
Create a new workspace
Create a target
Customizing the PowerBuilder Environment
Manipulate the System Tree window
Open an object
Manipulate views
Set up the toolbars
Connecting to the Database
About database connection
Create the database profile for the Appeon Sample database
Look at table definitions in the Appeon Sample database
Setting Up the Menus
Create a new menu
Add items to the new menu
Add a new toolbar for the new menu item
Building a DataWindow Object
Create and preview a DataWindow object
Save the DataWindow object
Make cosmetic changes to the DataWindow object
Building a Window
Build an MDI frame window
Build an MDI sheet window
Run the PowerBuilder application
Deploying the Mobile Application
Configuring and deploying the application in PowerServer Toolkit
Running the mobile application in Appeon Workspace
Index