NotesItem
Properties
| Name | Description |
|---|---|
| DateTimeValue | Read-write. Returns a NotesDateTime object representing the value of the item. |
| IsAuthors | Read-write. Indicates whether an item is of type Authors. An Authors item contains a list of Notes® user names, indicating people who have Author access… |
| IsEncrypted (NotesItem) | Read-write. Indicates whether an item is encrypted. |
| IsNames | Read-write. Indicates whether an item is a Names item. A Names item contains a list of Notes® user names. |
| IsProtected | Read-write. Indicates whether a user needs at least Editor access to modify an item. |
| IsReaders | Read-write. Indicates whether an item is of type Readers. A Readers item contains a list of Notes® user names, indicating people who have Reader access… |
| IsSigned (NotesItem) | Read-write. Indicates whether an item contains a signature the next time the document is signed. |
| IsSummary | Read-write. Indicates whether an item contains summary or non-summary data. |
| LastModified (NotesItem) | Read-only. The date/time that an item was last modified. |
| Name (NotesItem) | Read-only. The name of an item. |
| Parent (NotesItem) | Read-only. The document that contains an item. |
| SaveToDisk | Read-write. Indicates whether an item is saved to disk when the document is saved. |
| Text (NotesItem) | Read-only. A plain text representation of an item's value. |
| Type (NotesItem) | Read-only. The data type of an item. |
| ValueLength | Read-only. The number of bytes in the database used to store the item's values. This number includes internal overhead. |
| Values (NotesItem) | Read-write. The value(s) that an item holds. |
Methods
| Name | Description |
|---|---|
| Abstract (NotesItem) | Abbreviates the contents of a text item. |
| AppendToTextList | For an item that's a text list, adds a new value to the item without erasing any existing values. |
| Contains (NotesItem) | Given a value, checks if the value matches at least one of the item's values exactly. |
| CopyItemToDocument | Copies an item to a specified document. |
| GetMIMEEntity (NotesItem) | Gets a top-level MIME entity from an item. |
| GetValueCustomDataBytes | Returns as a byte array the value of an item containing custom data. |
| GetValueDateTimeArray | Returns the value of a date-time item. |
| Remove (NotesItem) | Permanently deletes an item from a document. |
| SetValueCustomDataBytes | Sets the value of an item to custom data from a byte array. |
Examples
| Name | Description |
|---|---|
| Examples: GetMIMEEntity method (NotesItem) | This agent gets a MIME entity from a "Body" item. |
| Examples: IsEncrypted property (NotesItem) | This script encrypts the Body item in a document. Any other items on the document remain unencrypted. |
| Examples: LastModified property (NotesItem) | This agent gets the date that each item in the current document was last modified. |
| Examples: Name property (NotesItem) | This script gets the name of an item. The Name property returns "Body." |
| Examples: Parent property (NotesItem) | This script gets the parent document of an item. Since doc and parentDoc represent the same document, the script prints the same NoteID twice. |
| Examples: Remove method (NotesItem) | This script removes the Useless item from a document. |
| Examples: Type property (NotesItem) | This script gets the type of the Topic item in a document. The itemType variable gets the value TEXT. |
| Examples: Values property (NotesItem) | This script gets the contents of a Subject item. The Values property returns an array even though the Subject item contains a single string. |