Excerpt | ||
---|---|---|
Although Noah objects are intended to work within the hierarchy, for practical purposes some are externally creatable. Such objects include the various Filters, DataType, UnboundAction and the Action object. When an object is externally created, it is initially detached from the hierarchy. When this new object is added to a collection object or is assigned to an object already in the hierarchy, it is said to be attached to the hierarchy. For instance, if an Action is externally created, it is initially detached from the hierarchy. When it is added to the Actions collection of the CurrentSession, a “copy” becomes the child of the Actions collection. Because the Actions collection is itself already part of the hierarchy, the newly-added Action copy is now attached to the hierarchy as well. The following code sample illustrates how a new Action object is added to the Actions collection:
After an Action is added to the hierarchy, it can no longer be updated by changing the attributes of the original external object. A module can only change the attributes of an attached Action by using objects in the ModuleAPI hierarchy. |
Page Comparison
General
Content
Integrations