Refresh Object
Updates the contents, conditional formatting, and visibility state of the specified object.
See also
Options
-
Object name is a named object on the current layout. See Naming objects.
-
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
Product | Supported |
FileMaker Pro | Yes |
FileMaker Go | Yes |
FileMaker WebDirect | Yes |
FileMaker Server | No |
FileMaker Cloud | No |
FileMaker Data API | No |
Custom Web Publishing | No |
Originated in version
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.
Notes
-
To update all objects in the current window, use the Refresh Window script step.
Example 1
Allows the user to log in to 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 [With dialog: On]
Refresh Object ["Confidential"]