Instant Web Publishing Guide

Table Of Contents
36 FileMaker Instant Web Publishing Guide
Script behavior in Instant Web Publishing
The following script steps function differently on the web than in FileMaker Pro. For information on all
script steps, see FileMaker
Pro Help.
Script step Behavior in Instant Web Publishing
Perform Script Scripts cannot perform in other files, unless the files are open and shared with Instant Web
Publishing on the host or server machine.
Allow User Abort Determines how unsupported script steps are handled. Enable to stop scripts from continuing,
and disable to skip over unsupported steps. See “Script steps tips and considerations” on page 34
for more details.
Set Error Capture Can be enabled (On) or disabled with Instant Web Publishing. If disabled, Find and field
validation errors will be displayed for scripts. If enabled, alert messages are suppressed when
scripts are run.
Pause/Resume Script The script pauses until the user clicks Continue or executes the Resume script step by clicking a
scripted button, or the session times out.
Sort Records You must save a sort order with the Sort Records script step to execute in Instant Web Publishing.
Open URL Opens a complete URL from a text or calculation field in a new browser window (URL must
contain “http://” if the target URL starts with “http://”).
Go to Field In Browse mode, switches a record into editing and sets the insertion point in the specified field.
Commit Records/Requests Submits the record to the database.
New Window Does not open a new physical browser window, but instead opens a new virtual window within
the existing browser window. Although each virtual window can display a different layout, table,
found set, or sort order as is possible in FileMaker
Pro windows, web users can only view one
virtual window at a time.
Select Window Brings the specified virtual window to the front.
Close Window Closes the specified or current virtual window to reveal the window underneath it.
Re-Login Lets the user log into the database using a different account and password without closing and
reopening the file. However, for web users you must select the Perform without dialog checkbox
and specify an account name and password in this script step.
Refresh Window Updates the content area of the browser window. Select Flush cached join results to update the
display of dynamic or complex related field content.
Set Web Viewer The Reset action resets a web viewer to its originally specified web address, but it does not clear
the web viewer’s Back and Forward history. The Reload action reloads the web page using the
most recently set URL. This URL is either the one initially defined for the web viewer or the one
most recently set with the Go to URL action, not necessarily the URL of the currently displayed
web page.
When using the Go Back and Go Forward actions, Set Web Viewer behaves as an unsupported
script step as described above. For these actions, the web viewer displays the web page of the
most recently set URL and the Get(LastError) function returns “Command is unknown.
Exit Application
Closes all virtual windows, ends the users session, and takes the user back to the Database Homepage.