Returns a view attribute.
@GetViewInfo ( [ attribute ] ; column )
[ attribute ]
Keyword. Must be enclosed in brackets. Use one of the following keywords:
[CalendarViewFormat]
Returns as a numeric value the number of days displayed: 1, 2, 5, 7, and so on. Applies to calendar views only.
[ColumnValue]
Returns as a text value the value of a column for the current row. Requires the second parameter.
[IsCalViewTimeSlotOn]
Returns @True if time slots are displayed on the lefthand side, @False otherwise. Applies to 1-day and 2-day calendar views only.
[IsViewFiltered]
Returns True (1) if the @SetViewInfo command has been used to limit which documents are displayed in the view, False (0) otherwise. This is useful in hide formulas for view actions.
column
Number. Required for [ColumnValue]; otherwise does not apply. The column number starting with 0 for the first column and counting hidden columns.
value
The value of the attribute as described previously.
This function is not available in selection or column formulas and will return null if used there.
Look at the view design or design synopsis to determine column numbers. You cannot count columns by looking at a view in the Notes® client or a browser.
@GetViewInfo([IsCalViewTimeSlotOn]) |
@GetViewInfo([CalendarViewFormat]) = 30
@GetViewInfo([ColumnValue]; 4) = "Task"
@GetViewInfo([ColumnValue];2)
!@GetViewInfo([IsViewFiltered])