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 | No |
FileMaker Go | Yes |
Custom Web Publishing | No |
FileMaker WebDirect | Yes |
Runtime solution | Yes |
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
•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"]
Related topics