window identifier (optional)

window is an optional identifier in the list of arguments that are included in the formulas.defineFormula method. This identifier specifies a PV.window_type attribute that defines the data buffering requirements for formulas and controls how the formula is triggered. For more information about the window objects that are used by the CME formula API, see CME formula API object model.

The general format for the window identifier is shown in the following example:
window: PV.window-type,
Where the statement uses the following syntax:
Syntax Element Definition
PV.window-type Attribute of the PV host object.

For examples of how the window identifier is used, see Using CME formula API files.

The window identifier uses the following attributes of thePV host object:
  • PV.CalendarWindow attribute
  • PV.CalendarAndTupleWindow attribute
  • PV.CMEWindow attribute
  • PV.PeriodWindow attribute
  • PV.PeriodAndTupleWindow attribute
  • PV.TupleWindow attribute