Developer’s Guide

Table Of Contents
Publishing your database on the Web
6-7
2. Open and share the database via the Web Companion, then choose
a web style and specify browser view layouts for the open database.
(In FileMaker Pro, choose File menu > Sharing, select Web
Companion, and click Set Up Views. For more information, see
“Setting up browser views” in chapter 14 in the FileMaker Pro 5
User’s Guide or see FileMaker Pro Help.)
3. In your web browser, type your computer’s IP address or
“localhost” and press Enter/Return. (See “Testing your site without
a network connection” on page 6-13 for information.)
http://17.17.17.17
http://localhost
The Web Companion displays the Instant Web Portal page in the
browser window.
4. Examine the HTML source for the HREF links on this page and
then modify the CGI commands to suit the links on your custom
home page (remove any unwanted items such as the –token
variable).
5. Test each link on your custom home page to make sure it connects
to the page you want.
Here’s an example of a link that displays all the records in the
Employees.fp5 database in a detailed form view for the English
language using the Lavender web style (which uses a cascading style
sheet).
<A HREF=“FMRes/FMPro?-DB=Employees.fp5&-Lay=Detail&
-Token=25&-max=1&-Format=ZFormVwCSS.htm&-Error=ZErr.htm&
-Findall”>
The CGI command requesting FileMaker Pro data to be generated on
instant web pages always begins with
FMRes/FMPro?. For
information on the individual CDML tags within the CGI command,
such as
–Token=25, see chapter 9, “Custom web publishing using
CDML.”
Languages for instant web pages
The Web Companion generates instant web pages for seven different
languages. All of the text on the instant web page is in the language
you choose in the Web Companion Configuration dialog box, and
the name of the format file begins with a capital letter to indicate the
language preference, such as “Z” for English in
ZFormVWCSS.htm.