Developer’s Guide

Table Of Contents
Contents
vii
Modified CDML tags 9-10
Using an intratag parameter 9-11
About the CDML Reference database 9-12
Creating error messages 9-13
Using an encoding parameter with a CDML replacement tag 9-14
Planning your web site 9-14
Looking at the three CDML examples 9-15
Employee Database example 9-16
Guest Book example 9-16
Shopping Cart example 9-17
Chapter 10
Writing external function plug-ins
About the plug-in examples and templates 10-1
Contents of the Template folder 10-2
Contents of the Full Example folder 10-3
Installing, enabling, and configuring FileMaker Pro plug-ins 10-4
Using external functions in a calculation 10-5
Using the Full Example plug-in’s external functions 10-5
Description of the Full Example plug-in’s
external functions
10-6
Requirements for writing an external function plug-in 10-7
Required code files 10-7
Required string resources 10-8
Required feature string syntax 10-8
Requirements for the plug-in’s main entry point 10-9
External function naming conventions 10-10
FileMaker Pro messages sent to the plug-in 10-10
The Initialization message 10-10
The Shutdown message 10-11
The Idle message 10-11
The External Function message 10-11
The Preferences message 10-12
Debugging your plug-in 10-12
Avoiding potential Mac OS resource conflicts 10-13
Providing documentation for your plug-in 10-13
Naming and registering your plug-ins 10-13
Steps for registering your external function plug-in 10-13
Revising a registered plug-in 10-14
Appendix A
Feature comparison of the runtime
application and FileMaker Pro
Application and document preferences A-2
Toolbar comparison A-3
Menu command comparison A-3
Ignored script steps A-5
Stored registry settings A-6
Appendix B
Valid names used in CGI requests for
FileMaker XML data
Generating a –find, –findall, or –findany request B-1
Examples of –find, –findall, and –findany requests B-1
Generating a –view request B-2
Examples of –view requests B-2
Generating a –new request B-2
Examples of –new requests B-2
Generating an –edit request B-3
Examples of –edit requests B-3
Generating a –delete request B-3
Examples of –delete requests B-3
Generating a –dbnames request B-3
Examples of –dbnames requests B-4
Generating a –layoutnames request B-4
Examples of –layoutnames requests B-4
Generating a –scriptnames request B-4
Examples of –scriptnames requests B-4