Email:   
Home
In This Issue
EasyPrint
Click here for the RSS feed's XML code. This is not a browser URL.
Developing a Palm VII PQA that reads data from a Domino database (continued)

Which HTML features are not supported?
There are several HTML 3.2 tags that are not available to you when developing the PQA and Web clipping scripts. They are:

  • Image Maps;
  • Animated GIFs;
  • Cookies;
  • Nested Tables;
  • Frames;
  • JavaScript;
  • Java Applets;
  • Style Sheets;
  • Named Typefaces.

A Simple PQA application
Many Notes developers have written a customer tracking database in Notes before. Since this article is intended to help Notes developers build PQAs, it seems reasonable to use such a customer tracking database as an example for this article.

Let's take a look at a PQA that will return a list of customers from a simple customer tracking database using the Palm VII. The code below shows a text file called Customer.html that can be compiled with the Query Application Builder tool. As you can see, the file contains standard HTML tags and also contains a form with a submit button that, when tapped with the stylus, gets posted to a Domino server.

<html>
<head>
<title>PalmBuilder</title>
<meta name="PalmComputingPlatform" content="true">
</head>
<body>
<p><p>
<hr>
<h3 align=Center>PalmBuilder.com</h3>
<h1 align=Center>Customer Tracking Demo</h1>
<h4 align=Center>Developed by Bruce Elgort</h4>
<h5 align=Center>DominoPower and PalmPower</h5>
<center>
<hr>
<p>
<form method="post" action="http://yourwebserver/customer.nsf/pqaCustomerQuery?OpenAgent";>
Enter a Customer Name: <input type=text value="" name="Customer">
<input type=Submit value="Go">
<p>
</center>
</form>
</body>
</html>

Notice that when our form gets posted to the Domino server the pqaCustomerQuery agent is actually run. This agent will take the data from the form and then generate a Web clipping that will be sent to the Palm VII for display. Let's look at the form tag again:

<form method="post" action="http://yourwebserver/databases/customer.nsf/pqaCustomerQuery?OpenAgent";>

Figure A shows the Query Application Builder tool with the Customer.html file loaded. To build the PQA, select Build PQA from the File menu. When you build the PQA, you can supply a name that will be displayed underneath the icon on the Palm VII and you can also select a custom icon that you may have developed.

FIGURE A

The Query Application Builder tool with our sample file Customers.html loaded. Click picture for a larger image.

If our PQA consisted of more than one file and/or graphic, all of them would be listed in the Query Application Builder.

Now that the PQA is built, the HotSync program can be used to install it onto the Palm VII. Figure B shows the Customers icon in the upper right-hand corner of the Palm VII display.




[ Prev | Next ]

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
-- Advertisement --

BLOGGING AND PODCASTING WITH ONE EASY-TO-USE TOOL
Now you can publish your thoughts, opinions, and comments in your own blog or podcast.<p />

  • Supports multiple authors and multiple blogs or podcasts.
  • Generate and publish RSS feeds for iTunes and other directories.
  • Post photos, images or animations.
  • Get feedback and have conversations with visitors to your site. <p />

Personalize your blog or podcast with your own unique domain name -- or integrate it with your existing site by setting it up as a subdomain.

Tap here and get blogging or podcasting within minutes.

-- Advertisement --

Safeguard Send Add-In for Outlook
Avoid mistakes when sending emails - our Outlook add-in tool automatically checks to make sure that replies are going to the right people, confidential information is not being sent to the wrong people, and more.

See this and our complete list of 37 other powerful add-ins at our Web site.
Copyright © 1998-2008, ZATZ Publishing. All rights reserved worldwide.
Editor's Login