SetRefreshViews method (DominoQuery - Java)

Sets a new value for the DominoQuery property RefreshViews, which controls whether views are refreshed when opened during query processing.

Defined in

DominoQuery

Syntax

void setRefreshViews ( boolean refresh ) throws NotesException

Parameters

boolean refresh

True or False

Returned value

None

Usage

If true, all view opens will refresh their views. If false (default), views will be opened without refreshing. To see the current value, use IsRefreshViews. Useful to ensure updated views when they are used to query. Given the volatility and amount of updating, settings of true or false could be justified.
Note: To change the default value server-wide to refresh views when opened, add the following setting to the Domino server notes.ini file: QUERY_REFRESH_ALL_VIEWS=1

Language cross-reference

RefreshViews Property (NotesDominoQuery - LotusScript)