Developer’s Guide
Table Of Contents
- Chapter 1 Welcome to FileMaker Developer
- Chapter 2 Installing FileMaker Developer in Windows
- Chapter 3 Installing FileMaker Developer in the Mac OS
- Chapter 4 Creating a database solution
- Overview of preparing your solutionfiles
- Considerations for a runtime databasesolution
- Considerations for Kiosk mode
- Using scripts to control your solution
- Protecting your database solution files
- Providing user documentation
- Design tips for cross-platform solutions
- Creating a consistent appearance
- Simulating outline and shadow text styles
- Using common character sets
- Designing text layouts for cross-platform solutions
- Using a common color palette
- Using graphics in cross-platform solutions
- Using QuickTime movies in cross-platform solutions
- Showing the status bar in Windows
- Using separate scripts for printing
- Using the Status (CurrentPlatform) function
- Creating platform-specific scripts
- Your responsibilities as a developer
- Testing before and after creating your solution
- Converting and upgrading solution files
- Chapter 5 Creating custom layout themes
- Chapter 6 Using the FileMaker Developer Tool
- About the solution examples
- Using the FileMaker Developer Tool
- Binding your databases into a runtime database solution
- Creating Kiosk-mode solutions
- Renaming your databases
- Removing design access to your databases
- Customizing the About, Help, and Scripts menus
- Adding the FileMaker Pro extension to database filenames
- Saving your settings in the Developer Tool
- Chapter 7 Distributing FileMaker Pro runtime database solutions
- Chapter 8 Publishing your database on the Web
- Types of web publishing
- Using the FileMaker Pro Web Companion
- Creating a custom home page
- Creating a custom home page for Instant Web Publishing
- Creating a custom web site using a database layout
- Web Companion support for Internet mediatypes
- Monitoring your site
- Exporting data to a static HTML page
- Testing your site without a network connection
- Opening password-protected databases remotely
- Chapter 9 Custom web publishing using CDML
- About the CDML examples
- General steps for custom web publishing using CDML
- About CDML format files
- Generating FileMaker Pro CGI requests using CDML
- Using the CDML Tool and templates
- About the CDML Reference database
- Creating error messages
- Using an encoding parameter with a CDML replacement tag
- Planning your web site
- Chapter 10 Using FileMaker Pro XML to deliver your data on the Web
- About the XML examples
- General process for custom web publishing using XML
- Generating an XML document
- Using the FMPDSORESULT grammar
- Using the FileMaker Pro Extended XML grammars
- About UTF-8 encoded data
- Generating FileMaker Pro CGI requests for an XML document
- Using style sheets with your XML document
- Comparing CSS, XSLT, and JavaScript
- Looking at the XML Inventory example
- Chapter 11 Using JDBC to deliver your data
- About the JDBC examples
- About JDBC
- Using the FileMaker JDBC Driver
- SQL supported by the FileMaker JDBC Driver
- FileMaker Pro support for Unicode characters
- About the FileMaker JDBC Driver interfaces and extensions
- Example 1: Looking at the FileMaker Pro Explorer application
- Example 2: Creating the JBuilder Inventory application
- Example 3: Creating the Visual Cafe Inventory application
- Chapter 12 Understanding external function plug-ins
- About external functions
- About the plug-in example file
- Installing, enabling, and configuring the example plug-in
- Description of the FMExample plug-in’s external functions
- Using the example plug-in
- Customizing the plug-in example
- Requirements for writing an external function plug-in
- FileMaker Pro messages sent to the plug-in
- Debugging your plug-in
- Avoiding potential Mac OS resourceconflicts
- Providing documentation for your plug-in
- Registering your plug-ins
- Appendix A Feature comparison of the runtime application and FileMaker Pro
- Appendix B Valid names used in CGI requests for FileMaker Pro XML data
- Generating a –find, –findall, or –findany request
- Generating a –view request
- Generating a –new request
- Generating an –edit request
- Generating a –delete request
- Generating a –dbnames request
- Generating a –layoutnames request
- Generating a –scriptnames request
- Generating a –dbopen request
- Generating a –dbclose request
- Generating a -dup request
- Generating an -img request
- Specifying parameters for the request
- –db (Database)
- –lay (Layout)
- –format (Format)
- –recid (Record ID)
- –modid (Modification ID)
- –lop (Logical operator)
- –op (Comparison operator)
- –max (Maximum records)
- –skip (Skip records)
- –sortfield (Sort field)
- –sortorder (Sort order)
- –script (Script)
- –script.prefind (Script before Find)
- –script.presort (Script before Sort)
- –styletype (Style type)
- –stylehref (Style href)
- –password (Database password)
- field name (Name of specific field)
- Appendix C FileMaker Pro values for error codes
- Index
9-6 Developer’s Guide
Using the Templates tab
1. With the Templates tab selected, choose a format file from the
Format File (Action) pop-up menu for the type of action that you want
users to perform on your database.
For a description of each format file, see “Customizing a format file
template” on page 9-6.
2. Click the Copy to clipboard button.
3. Paste the template into your blank HTML page. (If you’re using
an HTML authoring program, make sure to paste the template into
the HTML source.)
Using the Tags tab
1. With the Tags tab selected, choose a category from the Category
pop-up menu and then click the Refresh button to update the type of
tags listed in the Tags pop-up menu.
For a description of the categories, see “Categories of CDML tags”
on page 9-8.
Click to expand the Tag
Description box
The Tags tab in the CDML Tool
2. Choose a tag from the Tags pop-up menu.
If the tag has a corresponding list of parameters or value list options,
those values will appear in the Parameters and Value List pop-up
menus.
3. Choose a parameter or value list option, if applicable, and click the
check box on the left to select your choice. When a value list option
is selected, the parameter appears in the CDML Syntax box.
For example, the Check boxes tag in the Fields (Add) Dynamic category
includes a list of encoding parameters you can choose from (Raw,
HTML, Break, Display, and URL) and a choice of two value list
parameters (Value List Name or Yes/No).
[FMP-ValueList: Value List Name]
[FMP-ValueList: Yes/No]
The HTML parameter is selected by default for the [FMP-Field]
replacement tag.
For information, see “Using an encoding parameter with a CDML
replacement tag” on page 9-12 and the individual tag descriptions in
the Tag Index tab of the CDML Reference (described in “About the
CDML Reference database” on page 9-9).
4. View the tag’s syntax in the box at the bottom of the CDML Tool
window.
You can also click the Tag Description arrow to expand the window
and view a description of the tag in another box below.
5. Click the Copy to clipboard button.
6. Paste the tag into your format file.
Customizing a format file template
The CDML Tool provides nine format file templates for the basic
type of actions that web users can perform with your database. These
templates are included in the CDML Templates folder on the
FileMaker Developer CD.
Choose this
template So web users can do this with your database
Delete.htm Delete a selected record
Delete_reply.htm Receive feedback after deleting a record
Detail.htm View one record in detail on the screen