Reference > Script steps reference > Miscellaneous script steps > Refresh Portal
 

Refresh Portal

Refreshes the relationship and contents of the named object.

See also 

Options 

Object Name is a named object on the current layout. If Object Name is not specified, Refresh Portal refreshes the active layout object. See Naming objects.

Compatibility 

 

Product 

Supported 

FileMaker Pro Advanced 

Yes 

FileMaker Go 

Yes 

FileMaker WebDirect 

Yes 

FileMaker Server 

No 

FileMaker Cloud products 

No 

FileMaker Data API 

No 

Custom Web Publishing 

No 

Runtime solution 

Yes 

Originated in 

FileMaker Pro 14.0

Description 

Refresh Portal updates the join relationship and contents of a portal that displays related records. 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 

In FileMaker WebDirect, Refresh Portal performs the Refresh Window script step.

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)