Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

This object is being used to receive and create a copy of an existing array.

Info

The name of the object will be used to uniquely identify this array within the app. For info on this behavior read this: Data Processing.

...

App Builder Object

...

Source Code

Code Block
languagejs
function execute() {
  const identifierArr = `${nodeName}-array`;

  // Setup array
  if (globalContext[identifierArr] === undefined) {
    globalContext[identifierArr] = [];
  }

  return [globalContext[identifierArr]];
}

...

In Ports

Position

Name

Message Type

Description

1

Trigger

Trigger

This port is being used to trigger the read of the 'Array'.

...

Out Ports

Position

Name

Message Type

Description

1

Array

Array

This port is being used to send out the message containing the requested ‘Array' based on the object’s name.

...

Properties

Name

Description

Object Name

The name of the object on the canvas.

Show Code View

The switch to turn on code view for the Code Object.

Duplicate code into custom Code Object

Image Modified