Developer’s Guide

Table Of Contents
6-10 Developer’s Guide
Note When you use the Go to Related Record script step with Instant
Web Publishing, the sort order of the related database is based on the
Sort View settings in the Web Companion View Setup dialog box
(not on the sort order specified by the relationship). The found set of
records is determined by the relationship — only related records are
in the current found set when the script is performed.
Support for scripts with multiple script steps
The Web Companion supports 1 to 3 script steps in a script button
used for Instant Web Publishing. (Any steps after 3 valid script steps
are ignored.) The script must include a change of mode, layout, or
current record. The script may also include the submission of a form
containing either a -find request or an edited record. The following
script steps can be used in multi-step scripts:
Go to Record
Go to Layout
Go to Field
Sort
Enter Find Mode
Go to Field [ ] Go to Edit Record
view
Displays the specified
field in the Edit Record
page (without a blinking
insertion point).
Also supported in a multi-
step button.
New Record/Request [ ] Go to New Record
view
Also supported in a multi-
step button.
Enter Browse Mode [ ] Go to Form View Allows the web user to go
from an Edit Record,
Search, or New Record
page to Form View
without submitting a CGI
request.
Also supported in a multi-
step button.
Enter Find Mode [ ] Go to Search page Also supported in a multi-
step button.
Show All Records Find all records Also supported in a multi-
step button.
Perform Find Submit -find request This does not restore a
-find request that has been
saved with the script.
Also supported in a multi-
step button.
Exit Record Submit form This submits -edit record,
-new record, and -find
requests.
Also supported in a multi-
step button.
Sort [ ] Go to Sort page Also supported in a multi-
step button.
Delete Record/Request [ ] Delete record with
confirmation alert
FileMaker script step CGI request Description
View As [View As Table] View current layout
in CSS table
View As [View As Form] View current layout
in CSS form
View As [View As List] View current layout
in CSS table
This is the same as the
View As [View As Table]
script step
View As [Cycle] Cycle between Form
and Table views
Open Help Open HTML help This opens the built-in
help for Instant Web
Publishing, called
“FileMaker Pro Web
Companion Help” in a
new browser window.
FileMaker script step CGI request Description