UltraLite for M-Business Anywhere User's Guide
Tutorial: A Sample Application for M-Business Anywhere
In this lesson you create an M-Business Anywhere user, group, and channel for your application.
Configure M-Business Anywhere
Open the M-Business Anywhere administration console and login as the admin user.
The default user ID is admin, with a blank password.
Create a new user.
Later in this tutorial, you will use the user name and password you create in this step to synchronize from an M-Business client. If you already have an M-Business client set up for this server, you may wish to use a user name that already exists.
Click the Users heading and click New User.
Enter a User Name and Password. The other fields are optional. Click Create.
Create a group and a channel:
Click the Groups heading and click New Group.
Name the new group UltraLite and click Create and Edit.
Under the Web tab, click New Group Channel.
Use the following settings for the channel. Make sure to substitute the correct URL for your web server:
Title UltraLite Tutorial
Location http://host:port/tutorial/main.html.
The location is the URL of the tutorial main.html page, as served by your web server.
Channel Size Limit 1000 KB
Link Depth 2
Allow Binary Distribution Yes (checked).
Add the user to the group:
Click the Users heading and find the user you created in step 2.
Click the User Name to show the user's properties.
Click Add/Remove Groups.
Check the UltraLite group and click Update to add the user to this group.
The user, group, and channel are now all set up on M-Business Anywhere. The next step is to synchronize the content of this channel to an M-Business client. You can do this from whichever platform you wish to use.
The next procedure assumes that you have an M-Business client installed. It is recommended that you click Tools > Options and set the client options to Show JavaScript Errors. This setting allows easier debugging of any errors in your application.
Synchronize the channel for your device
Synchronize your M-Business client with the UltraLite channel on the M-Business Anywhere Server.
At this stage there is no content for your application, so the page appears blank.
SQL Anywhere Studio 9.0.2
版权所有 © 1989–2005 Sybase, Inc. 部分版权所有 © 2001–2005 iAnywhere Solutions, Inc. 保留所有权利。