IsSummary (Item - Java)

Read-Write. Indicates whether an item contains summary or non-summary data.

Defined in

Item

Data type

boolean

Syntax

public boolean isSummary()
    throws NotesException
public void setSummary(boolean flag)
    throws NotesException

Legal values

  • true if the item contains summary data
  • false if the item contains non-summary data

Usage

Items are flagged as containing summary or non-summary data. Summary data can appear in views and folders; non-summary data cannot. In general, items created through the UI are tagged as non-summary if they contain rich text or are very long.

When you create a new item using appendItemValue or replaceItemValue in NotesDocument, the isSummary property for the item is true. If you don't want the item to appear in views and folders, you must change its IsSummary property to false.

You can enable or disable the appearance of an existing item in views and folders by changing its IsSummary property.

An item whose IsSummary property is true may not appear as expected in views and folders if the data is not suitable. For example, a rich text item whose IsSummary property is true generally appears as a question mark.

Example