Developer’s Guide

Table Of Contents
There are two folders that can be used to store files to be served to
the Web; the Web folder, and the cdml_format_files folder, both
located at the root level of the FileMaker Pro folder. Your custom
web pages, CDML format files, and XSLT style sheets can be stored
in the Web folder in order for the Web Companion to serve them on
the Web. Though the Web folder allows web users to view the source
code of files placed within it, the cdml_format_files folder prevents
web users from directly viewing the source code of any files placed
within it. This allows the user to see the HTML generated after
processing the CDML format file, while preventing them from
seeing the CDML tags in the unprocessed source file. See the Web
Security.pdf for more information on using the cdml_format_files
folder (FileMaker Developer 6\ Web Security \ Web Security.pdf).
Your databases should not be inside either of these folders. They only
need to be open in FileMaker Pro and shared via the Web Companion.
Note You can keep your site folders, web pages, and databases in a
different folder anywhere on your hard drive. To do this, replace the
Web folder inside the FileMaker Developer folder with a shortcut/
alias named “Web”.
For information and tips on providing security for your databases on
the Web, see the WebSecurity.pdf document in the
FileMaker Developer Web Security folder.
Enabling the Web Companion
You only need to enable the FileMaker Pro Web Companion plug-in
once. FileMaker Pro will attempt to connect to a network in order to
enable the Web Companion — if you do not have a network
connection but want to enable the Web Companion anyway, see
“Testing your site without a network connection” on page 8-17.
To enable the Web Companion in Windows or Mac OS:
1. In FileMaker Pro, choose Edit menu > Preferences > Application.
Mac OS X: choose FileMaker Developer application menu >
Preferences > Application.
Publishing your database on the Web 8-3
2. In the Application Preferences dialog box, click the Plug-Ins tab.
3. Select the Web Companion checkbox to enable the Web
Companion plug-in.
Enable the Web Companion in the
Application Preferences dialog box
4. Select Web Companion and click Configure to set configuration
options, or click OK.
Setting Web Companion configuration options
After you’ve enabled the Web Companion, follow these steps to
select various configuration options:
1. On the Plug-Ins tab in the Application Preferences dialog box,
select Web Companion and click Configure.
Example of the Web Companion configured
for Instant Web Publishing