Developer’s Guide

Table Of Contents
Contents vii
Example 1: Looking at the FileMaker Pro Explorer application 11-8
Setup requirements 11-9
Install the example and the FileMaker JDBC Driver 11-9
Open and share your databases via the Web 11-9
Run the FileMaker Pro Explorer application 11-9
View the source code of the example 11-10
Example 2: Creating the JBuilder Inventory application 11-11
Install the example and FileMaker JDBC Driver 11-11
Set up JBuilder to use the FileMaker JDBC Driver 11-11
Open and share the Inventory.fp5 database 11-11
Start a new JBuilder project 11-11
Create the data module 11-12
Design the data module 11-12
Test the data module 11-13
Generate the application 11-13
Example 3: Creating the Visual Cafe Inventory application 11-15
Install the example and the FileMaker JDBC Driver 11-15
Set up Visual Cafe to use the FileMaker JDBC Driver 11-15
Open and share the inventory_db database 11-15
Create a new Visual Cafe project 11-15
Chapter 12
Understanding external function plug-ins
About external functions 12-1
About the plug-in example file 12-1
Contents of the FMExample Plugin folder 12-2
Contents of the EFP API folder 12-2
Contents of the Resources folder 12-2
Contents of the Source folder 12-2
Installing, enabling, and configuring the example plug-in 12-3
Description of the FMExample plug-in’s external functions 12-4
Using the example plug-in 12-4
Customizing the plug-in example 12-6
Customizing FMExample.r 12-6
Customizing FMExample.rc 12-6
Customizing FMPrefs.c 12-6
Customizing FMMain.h 12-6
Customizing FMFunct..h 12-6
Customizing FMFunct.c 12-6
Requirements for writing an external function plug-in 12-7
Required code files 12-7
Required resource files 12-7
Feature string syntax 12-8
Requirements for the plug-in’s main entry point 12-9
External function naming conventions 12-10
FileMaker Pro messages sent to the plug-in 12-10
The Initialization message 12-11
The Shutdown message 12-11
The Idle message 12-11
The External Function message 12-12
The Preferences message 12-12
Debugging your plug-in 12-13
Avoiding potential Mac OS resource conflicts 12-13
Providing documentation for your plug-in 12-13
Registering your plug-ins 12-13
Steps for registering your external function plug-in 12-13
Revising a registered plug-in 12-14
Appendix A
Feature comparison of the
runtime application and FileMaker Pro
Application and document preferences A-1
Toolbar comparison A-3
Menu command comparison A-3
Ignored script steps A-6
Stored registry settings A-6