Developer’s Guide

Table Of Contents
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