Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Description

This object is being used to store or override an array with a specific name.

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

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

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

  globalContext[identifierArr] = inPorts[1].value;

  return [];
}

In Ports

Position

Name

Message Type

Description

1

Trigger

Trigger

This port is being used to trigger the put of the Array provided in the second In Port.

2

Array

Array

This port is being used to receive the Array that is supposed to be put.


Out Ports

Position

Name

Message Type

Description

-

-

-

-


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

  • No labels