Refresh Portal
 
Purpose 
Refreshes the relationship and contents of the named object.
See also 
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 
 
Where the script step runs 
Supported 
FileMaker Pro 
Yes 
FileMaker Server scheduled script 
No 
FileMaker Go 
Yes 
Custom Web Publishing 
No 
FileMaker WebDirect 
Yes 
Runtime solution 
Yes 
Originated in 
FileMaker Pro 14.0
Description 
Refresh Portal can update the contents of a portal when a global field used in the portal’s filter calculation has been modified. For example, use Refresh Portal with the OnObjectExit script trigger to refresh a portal when users commit a change in a field used in the portal’s filter calculation.
Notes
 •
 •
If the layout object specified for Object Name is not a portal, Refresh Portal performs the Refresh Object script step.
 •
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"]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)