Instant Web Publishing Guide

Table Of Contents
Chapter 4 | Designing a database for Instant Web Publishing 32
To suppress Instant Web Publishing controls, create a startup script that includes Show/Hide
Toolbars [Hide] as one of the first steps. For solutions involving multiple database files, use this
startup script step in each file.
If you want to prevent web users from being able to create new records, you can either:
1 create a script to hide the status area, or
1 prevent creation of new records with a user’s account in the Manage Security dialog box
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 36 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
Web users can sort data based on fields on the current layout. To control which fields web users
can sort on, you can:
1 hide the status area and create buttons that are scripted to sort the data by fields specified in
the script.
1 restrict access to layouts with a user’s account in the Manage Security dialog box.
Web viewer design considerations
If your FileMaker Pro solution contains web viewers, consider the following points for Instant Web
Publishing:
1 Content in a web viewer may have unintended effects on Instant Web Publishing. Therefore you
must test the websites you want to display within a web viewer. For example, a URL (either a
URL calculated from field data or a URL that the user specifies by clicking a link in a web viewer)
can specify a page that has the
target=top attribute. This attribute causes the page to
completely replace Instant Web Publishing in the web browser window.
1 Web users might be able to interact with web viewer content in a limited way, even if you clear
the Allow interaction with web viewer checkbox in the Web Viewer Setup dialog box. Limited
interaction can also occur even if a web viewer is defined as a button.