Type (NotesItem - JavaScript)

Read-only. The data type of an item.

Defined in

NotesItem

Syntax

getType() : int

Legal value

  • 0 UNKNOWN
  • 1 RICHTEXT
  • 2 COLLATION
  • 4 NOTEREFS (reference to the parent document)
  • 6 ICON
  • 7 NOTELINKS (link to a database, view, or document)
  • 8 SIGNATURE
  • 14 USERDATA
  • 15 QUERYCD
  • 16 ACTIONCD
  • 17 ASSISTANTINFO
  • 18 VIEWMAPDATA
  • 19 VIEWMAPLAYOUT
  • 20 LSOBJECT
  • 21 HTML (HTML source text)
  • 25 MIME_PART
  • 256 ERRORITEM (error occurred while getting type)
  • 512 UNAVAILABLE
  • 768 NUMBERS (number or number list)
  • 1024 DATETIMES (date-time or range of date-time values)
  • 1074 NAMES
  • 1075 READERS
  • 1076 AUTHORS
  • 1280 TEXT (text or text list)
  • 1282 RFC822TEXT(internet mail text)
  • 1084 ATTACHMENT (file attachment)
  • 1085 OTHEROBJECT
  • 1090 EMBEDDEDOBJECT
  • 1536 FORMULA (Domino® formula)
  • 1792 USERID

Usage

You can also test for Names, Readers, and Authors items with: IsNames, IsReaders, and IsAuthors.