Developer’s Guide

Table Of Contents
10-18 Developer’s Guide
To view the XML Inventory example:
1. If necessary, copy the Inventory example files from the FileMaker
Developer CD onto your hard disk.
Developer Extras\FileMaker, Inc>External FileMaker APIs\XML\Inventory
Example
2. Place a copy of the Inventory Example folder and its files in the
Web folder inside the FileMaker Developer application folder on
your hard disk.
Web \ Inventory Example
Note For security, when actually publishing a database on the Web,
you should not keep the database file in the Web folder unless you
plan to administer it remotely. See “Opening password-protected
databases remotely” on page 8-18 for information.
3. Open the Inventory.fp5 database in FileMaker Pro and make sure
it’s shared via the Web Companion.
See “Enabling the Web Companion” on page 8-3 and “Sharing the
database via the Web” on page 8-5 for information.
4. In your web browser, type localhost (or your computer’s IP
address) followed by /inventory example/ and press Enter.
http://localhost/inventory example/
http://17.17.17.17/inventory example/
For information on setting up your computer as the localhost, see
“Testing your site without a network connection” on page 8-17.
The XML Inventory example opens in List View in the browser.
5. Select a record and click the Detail View button.
The currently selected record displays in a separate Detail View
window. It is also possible to open the Detail View window by
double-clicking a record item in the list. To close the Detail View
window, click the Cancel button. To apply edits made to a record in
Detail View, click the Update button.
Detail View of a selected record in the browser
6. To add a record, click the Add button in the List View window.
A separate Add Record window opens.
7. Enter data for the new record and click Add to add it to the bottom
of the list.