Refresh Object

Updates the contents, conditional formatting, and visibility state of the specified object.

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 

Example 1 (FileMaker platform only)

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.

Copy
Re-Login [With dialog: On]
Refresh Object ["Confidential"]