Copyright © 2021 by K4.org
  (v.0.48.124)

When activated, this creates a new model child rule and adds to the model tree.

Index

Rules

childName

childName: String

The name of the new child. Note that if this name is the same as an existing child (on the same parent), this new child will replace the existing child. It is up to the rule author to ensure that child names are unique. One way to do so is to use R.uniqueName("<desired name of child>", <reference to child's parent>)

Flags : Cached, Parameter (Note this is uncached)

Expression : ""

clearModelChildren

clearModelChildren: Boolean

If true, any model children of this new child are cleared when the child is changed.

Flags : Cached, Parameter (Note this is uncached)

Expression : false

controlType

controlType: String

Internal Use Only.

Flags : Cached (Note this is uncached)

Expression : "AddModelButton"

designExpression

designExpression: String

The expression used to determine the Design of the new child.

Flags : Cached, Parameter (Note this is uncached)

Expression : ""

forceGroup

forceGroup: Boolean

Whether the new child will be an aggregate group even if quantity is 1.

Flags : Cached, Parameter (Note this is uncached)

Expression : true

instantUpdate

instantUpdate: Boolean

If true, bypasses the normal "update on OK" behavior of UIForm, and will update the UI as soon as a change is made.

Flags : Cached, Parameter, Spec (Note this is uncached)

Expression : false

parameters

parameters: Any

The parameters for the new child. These should be an object containing a set of name-value pairs.

Flags : Cached, Parameter (Note this is uncached)

Expression : {}

parentRefChain

parentRefChain: String

The reference chain to the owner of the new child.

Flags : Cached, Parameter, Spec (Note this is uncached)

Expression : ""

quantity

quantity: Integer

The quantity of the new child.

Flags : Cached, Parameter (Note this is uncached)

Expression : 1

ruleDefinition

ruleDefinition: Any

This is the complete rule definition for the new child. It can be provided directly, or collected from the other parameters.

Flags : Cached, Parameter, Spec (Note this is uncached)

Expression : { name: this.childName, designExp: this.designExpression, quantity: this.quantity, forceGroup: this.forceGroup, parameters: this.parameters, clearModelChildren: this.clearModelChildren }