Skip to content

element.create deprecated

DANGER

Note that this has been deprecated in favour of

Creates an element within a dimension under no hierarchy.

js
element.create(dimension, name, type);
element.create(dimension, name, type);

Parameters

  • dimension - The dimension in which to create an element.
  • name - The identifier of the element created.
  • type - Either N or S, depending on the data type held against it. However S is only ever used in measures dimensions.

Example

js
element.create("Account", "600010", "N");
element.create("Account", "600010", "N");