Instant Web Publishing Guide

Table Of Contents
26 FileMaker Instant Web Publishing Guide
By setting a startup script, you can determine which layout and view web users see when they open
the database with the following script steps:
1 Go to Layout [Layout Name]
1 Enter Browse Mode [ ]
1 View As [Form View]
You can also specify a starting layout in the File Options dialog box. See FileMaker Pro Help for
more information.
Hiding the status area to customize the interface
FileMaker Pro automatically generates interface controls in the status area for interacting with
databases shared with Instant Web Publishing. These controls allow the user to create, alter, and
delete records; switch views and modes when accessing databases via a web browser; find and sort
records; open HTML Help; and so on. If you want to present your own interface for performing all
database tasks, you can create a script that hides the status area when opening the file.
To suppress Instant Web Publishing controls, create a startup script that includes Toggle Status
Area [Hide] as one of the first steps. For solutions involving multiple database files, use this startup
script step in each file.
Important When you suppress the FileMaker Pro Instant Web Publishing controls, web users are
completely dependent on your scripted buttons. You must include a button that lets web users log
out of the solution, as well as perform other tasks. See
“Creating a script to log out of a database
and close the session” on page 29 for details.
You can include scripted buttons on your layout to:
1 add, select, navigate, edit, and delete records.
1 specify search criteria and perform find requests.
1 sort the database in all desirable ways.
1 change layouts and layout views.
1 continue or cancel scripts that may have paused.
1 open other database files (the databases must be open and shared with Instant Web Publishing on
the host computer).
Important If you are suppressing the status area, thoroughly test your database to make sure you have
provided users all required functionality.
Specifying the sort order for web users
With Instant Web Publishing, you no longer specify sort fields on a prescribed layout. Web users
can now sort data based on fields on the current layout. To control which fields web users can sort
on, you can:
1 restrict access to layouts with the user’s account in Accounts and Privileges.
1 hide the status area and create buttons that are scripted to sort the data by fields specified in the
script.