Refresh Object
Purpose 
Updates the content, conditional formatting, and visibility state for the specified object.
Format 
Refresh Object [Object Name: <object name>; Repetition: <value or formula>]
Options 
Select Specify to display the "Refresh Object" Options dialog box, where you can set the following options:
 •
Object name is a named object on the current layout.
 •
Repetition (optional) lets you choose which field repetition to refresh. Defaults to 1. This option is ignored if the object is not a field.
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 13.0
Description 
Refresh Object does not support repetition numbers when updating the visibility state of an object with a hidden condition.
If the specified object is in a portal, Refresh Object updates the object in every visible portal row.
If the repetition calculation returns zero, or the expression does not exist, all repetitions are refreshed.
Note  To update all objects in the current window, use the Refresh Window script step.
Example 1 
Allows the user to log into a different account and updates the visibility state of the Confidential object. The Confidential object hides when the user is not logged in to the Admin account.
Re-Login [ ]
Refresh Object ["Confidential"]
Related topics 
Script steps reference (alphabetical list)
Script steps reference (category list)