Script Steps Reference

Table Of Contents
Control script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 15
Perform Script On Server
Purpose
Performs a script on the server that is hosting the current file.
Format
Perform Script on Server [Wait for completion; "<script name>"; Parameter:
<parameter>]
Options
<script name> specifies the script you want to perform. See Specify Script dialog box.
Optional script parameter specifies a script parameter for the specified script.
Wait for completion pauses the script on the client until the sub-script called by Perform
Script On Server is completed on the host. Wait for completion must be selected to pass a
script result or error code from the host to the client. Use the Get(ScriptResult) function to
capture a result or the Get(LastError) function to capture an error code.
Compatibility
Originated in
FileMaker Pro 13.0
Description
The current file must be hosted on FileMaker Server. Otherwise, Perform Script On Server returns
an error. See About running scripts on FileMaker Server.
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server No
FileMaker Go Yes
Custom Web Publishing Yes
FileMaker WebDirect Yes
Runtime solution No