Script Steps Reference

Table Of Contents
Miscellaneous script steps
F
ILEMAKER PRO SCRIPT STEPS REFERENCE 265
Refresh Portal
Purpose
Refreshes the relationship and contents of the named object.
Format
Refresh Portal [Object Name: <object name>]
Options
Object Name is a named object on the current layout. If Object Name is not specified,
Refresh Portal refreshes the active layout object.
Compatibility
Originated in
FileMaker Pro 14.0
Description
Refresh Portal updates the join relationship and contents of a portal. Use Refresh Portal when a
global field used in the portal’s filter calculation has been modified. For example, Refresh Portal with
the OnObjectExit script trigger will refresh a portal after users commit a change in a field used in the
portal’s filter calculation.
Notes
In FileMaker WebDirect, Refresh Portal performs the Refresh Window script step.
If the layout object specified for Object Name is not a portal, Refresh Portal performs the
Refresh Object script step.
Refresh Portal acts on the foreground window of the current file.
Example 1
Sets the value of a global field used in a portal's filter calculation, then updates the portal.
Set Field [Customer::Filter; 16]
Refresh Portal [Object Name: "Customer Orders"]
Where the script step runs Supported
FileMaker Pro Yes
FileMaker Server No
FileMaker Go Yes
Custom Web Publishing No
FileMaker WebDirect Yes
Runtime solution Yes