Description

Add a link in the HistoryFolder to a McDBNode.

Return Type

A McDBNode object.   The McDBNode exposing the link when successful.
Failure Returns Nothing.

Failure conditions:
* pdbnodeOpened is a child of the HistoryFolder.
* DataManager.AddNode failed
* No HistoryFolder.
* File does Not exist

Syntax

object.CreateNode (vTypeOrObject, sName, [vParent], [eJournalContentOverride], [eOptions])

The CreateNode Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataJournal.
vTypeOrObjectRequired. A Variant value.
sNameRequired. A String value.
vParentOptional. A Variant value.
eJournalContentOverrideOptional. A McDataJournalOperations enumeration, as described in settings.
eOptionsOptional. A Long value.

Settings

The settings for eJournalContentOverride are:

ConstantValueDescription
 mcdatJO_Default0

normal journaling

 mcdatJO_NoProprietary2

do not expose the Proprietary or automation object

 mcdatJO_NoIcons4

do not create icons

 mcdatJO_NoAttributes8

do not extract, computer or expose the attributes

 mcdatJO_NoNode30

do not create a journal McDBNode

 mcdatJO_NoProprietaryHash32

do not compute hash for the Proprietary or automation object content

 mcdatJO_NoNodeHash64

do not compute hash for the McDBNode content

 mcdatJO_BkgrdProprietary32

link the Proprietary or automation object in a background process

 mcdatJO_BkgrdIcons64

create icons in a background process

 mcdatJO_BkgrdAttributes128

extract, computer or expose the attributes in a background process

 mcdatJO_BkgrdNode480

create a journal McDBNode in a background process

 mcdatJO_BkgrdProprietaryHash512

compute hash for the Proprietary or automation object content in a background process

 mcdatJO_BkgrdNodeHash1024

compute hash for the McDBNode content in a background process

 mcdatJO_NoPersistProprietary8192

do not store the Proprietary or automation object

 mcdatJO_NoPersistIcons16384

do not store the icons

 mcdatJO_NoPersistAttributes-32768

do not store or index the attributes

 mcdatJO_NoPersistNode122880

do not store the McDBNode

 mcdatJO_BkgrdPersistNode131072

Store the McDBNode in a database in a background process

 mcdatJO_NoJournalDatabase16777216

Do not use a journal database to persist McDBNode or Attribute set definitions

 mcdatJO_CreateJournalDatabaseOnInit33554432

Create the Journal database when this object is created.

Remarks

The Data property will be linked using the mcdatnam_ShareData linking mechanism.
A McSetting exist to allow the HistoryFolder McDBNode instances to be reused or overwritten
when a simular AddNodeLink operation is executed.