Developer’s Guide

Table Of Contents
Custom web publishing using CDML 8-7
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 also included in the CDML Templates folder on the
FileMaker Developer 5.5 CD.
To use a format file template:
1. Copy and paste the template from the CDML Tool into the HTML
source of a blank document, or open the template text file from the
CDML Templates folder (inside the CDML folder) in a text editor or
HTML authoring program.
Note When you’re familiar with the template, you may want to
delete the comments (including the comment tags <!-- -->).
2. Use the CDML Tool to add any CDML tags for the fields and other
types of data you’re requesting from the database.
See “Categories of CDML tags” next.
3. Add text, images and links as desired.
4. Name and save the file in your web site.
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
Edit.htm Make changes to one record
Edit_reply.htm Receive feedback after editing a record
New.htm Add a record
New_reply.htm Receive feedback after adding a record
Results.htm View the results of a search for records
Search.htm Search for specific records
This template Contains these CDML tags
Delete.htm -db, -lay, -format, [FMP-Field: Field Name1], [FMP-
Field: Field Name2], [FMP-CurrentRecID], and -delete
Delete_reply.htm [FMP-LinkRecID: Layout=Layout Name, Format=path-
to-file/default.htm]
Detail.htm -db, -recid, [FMP-CurrentRecID], -lay, -format, [FMP-
Field: Field Name1], [FMP-Field: Field Name2], -edit
Edit.htm -db, -recid, [FMP-CurrentRecID], -lay, -format, [FMP-
Field: Field Name1], [FMP-Field: Field Name2], -edit
Edit_reply.htm [FMP-LinkRecID: Layout=Layout Name, Format=path-
to-file/Detail.htm]
New.htm -db, -lay, -format, -new
The delete.htm format file with all <!--comments--> removed