Specific exceptions to LotusScript specifications

The following are specific differences between accessing Domino® Objects through either LotusScript® or COM.

Class

Exceptions

Why

Button

Entire class

Not in COM

Field

Entire class

Not in COM

Navigator

Entire class

Not in COM

NotesACL

RemoveACLEntry

COM only

NotesACLEntry

NameObject

COM only

 

New

Not in COM

NotesDatabase

UnprocessedDocuments

Not implemented in COM (Note 1)

 

Create

Not in COM (Note 2)

 

GetURLHeaderInfo

In COM, parameters 1 and 2 are optional

 

New

Not in COM

 

Open

In COM takes no parameters (Note 2)

 

OpenByReplicaID

Not in COM (Note 2)

 

OpenIfModified

Not in COM (Note 2)

 

OpenMail

Not in COM (Note 2)

 

OpenURLDb

Not in COM

 

OpenWithFailover

Not in COM

 

UnprocessedFTSearch

Not implemented in COM (Note 1)

 

UnprocessedSearch

Not implemented in COM (Note 1)

NotesDateRange

Parent

COM only

NotesDateTime

Parent

COM only

 

New

Not in COM

NotesDbDirectory

Parent

COM only

 

CreateDatabase

COM only (Note 2)

 

GetFirstDatabase

In COM, use NOTES_DATABASE instead of DATABASE due to a naming conflict

 

New

Not in COM

 

OpenDatabase

COM only (Note 2)

 

OpenDatabaseByReplicaID

COM only (Note 2)

 

OpenDatabaseIfModified

COM only (Note 2)

 

OpenMailDatabase

COM only (Note 2)

NotesDocument

New

Not in COM

NotesDocumentCollection

AddDocument

COM has optional second parameter, checkDups As Boolean = False, but it has no use currently

NotesDOMParser etal.

All NotesDOM classes

Not in COM

NotesDXLExporter

ExitOnFirstFatalError

Not inherited in COM (see Note 4)

 

Log

Not inherited in COM(see Note 4)

 

LogComment

Not inherited in COM(see Note 4)

 

Export

COM only (see Note 4)

NotesDXLImporter

ExitOnFirstFatalError

Not inherited in COM (see Note 4)

 

Log

Not inherited in COM(see Note 4)

 

LogComment

Not inherited in COM(see Note 4)

 

Import

COM only (see Note 4)

NotesEmbeddedObject

DoVerb

COM treats as Sub not Function

NotesForm

Parent

COM only

NotesInternational

Parent

COM only

NotesItem

New

Not in COM

NotesLog

Parent

COM only

 

New

Not in COM

NotesName

Parent

COM only

 

New

Not in COM

NotesNewsletter

Parent

COM only

 

New

Not in COM

NotesOutline

ParentDatabase

COM only

 

AddEntry

Not in COM; obsolete in LotusScript

 

CreateEntry

In COM, parameter 2 not optional; specify Nothing for default

 

GetChild

Not in COM; obsolete in LotusScript

NotesOutlineEntry

IsHidden

Not in COM; obsolete in LotusScript

 

Parent

COM only

 

SetAction

COM treats as Sub not Function

 

SetNamedElement

COM treats as Sub not Function

 

SetNoteLink

COM treats as Sub not Function; COM has only 1 parameter, Obj As UNKNOWN

 

SetURL

COM treats as Sub not Function

NotesRegistration

New

Not in COM

NotesReplication

No exceptions

 

NotesRichTextItem

AddNewLine

In COM, parameter 1 optional and defaults to 1

 

AddTab

In COM, parameter optional and defaults to 1

 

New

Not in COM

NotesRichTextParagraphStyle

SetTab

In COM, parameter 2 optional

 

SetTabs

In COM, parameter 3 optional and defaults to 1

NotesRichTextStyle

Parent

COM only

NotesRichTextTab

No exceptions

 

NotesSAXParser etal.

All NotesSAX classes

Not in COM

NotesSession

CurrentAgent

Not implemented in COM (Note 1)

 

CurrentDatabase

Not implemented in COM (Note 1)

 

DocumentContext

Not implemented in COM (Note 1)

 

NotesURL

COM only

 

ServerName

COM only

 

UserNameList

Not implemented in COM (Note 1)

 

UserNameObject

COM only

 

CreateDOMParser

Not in COM

 

CreateRegistration

COM only

 

CreateSAXParser

Not in COM

 

CreateTimer

Not in COM

 

CreateXSLTransformer

Not in COM

 

Evaluate

COM only

 

Initialize

COM only

 

InitializeUsingNotesUserName

COM only

NotesTimer

Entire class

Not in COM

NotesUIDatabase

Entire class

Not in COM

NotesUIDocument

Entire class

Not in COM

NotesUIView

Entire class

Not in COM

NotesUIWorkspace

Entire class

Not in COM

NotesView

ColumnNames

COM only

 

CreateViewNav

COM has optional Long parameter for cache size

 

CreateViewNavFrom

COM has optional Long parameter for cache size

 

CreateViewNavFromCategory

COM has optional Long parameter for cache size

 

CreateViewNavFromChildren

COM has optional Long parameter for cache size

 

CreateViewNavFromDescendants

COM has optional Long parameter for cache size

 

CreateViewNavMaxLevel

COM only

 

GetColumn

COM only

NotesViewColumn

No exceptions

 

NotesViewEntry

No exceptions

 

NotesViewEntryCollection

AddEntry

COM has optional second parameter, checkDups As Boolean = False, but it has no use currently

NotesViewNavigator

CacheSize

COM only (Note 3)

 

GetCurrent

COM only

 

GotoChild

COM only

 

GotoEntry

COM only

 

GotoFirst

COM only

 

GotoFirstDocument

COM only

 

GotoLast

COM only

 

GotoLastDocument

COM only

 

GotoNext

COM only

 

GotoNextCategory

COM only

 

GotoNextDocument

COM only

 

GotoNextSibling

COM only

 

GotoParent

COM only

 

GotoPos

COM only

 

GotoPrev

COM only

 

GotoPrevCategory

COM only

 

GotoPrevDocument

COM only

 

GotoPrevSibling

COM only

NotesXMLProcessor

Entire class

Not in COM

NotesXSLTransformer

Entire class

Not in COM

Note 1: "Not implemented in COM" means that the code compiles but returns a "not implemented" run-time error.

Note 2: The LotusScript NotesDatabase methods Create, Open with parameters, OpenByReplicaID, OpenIfModified, and OpenMail are implemented in COM in NotesDbDirectory as CreateDatabase, OpenDatabase, OpenDatabaseByReplicaID, OpenDatabaseIfModified, and OpenMailDatabase.

Note 3: You can query and set this property, but it is not actually used.

Note 4: NotesXMLProcessor is not implemented in COM. NotesDXLExporter and NotesDXLImporter implement ExitOnFirstFatalError, Log, and LogComment, rather than inheriting them. NotesDXLExporter initiates processing with the COM-only Export method. NotesDXLImporter initiates processing with the COM-only Import method. Process, SetInput, and SetOutput do not exist in COM.