Skip to content

dimension.createOrWipe

Creates a dimension, if it doesn't exist, within the specified model of the given type. If it already exists, it wipes the data on the dimension.

js
dimension.createOrWipe(name, type);
dimension.createOrWipe(name, type);

Parameters

  • name - An identifier used to name the dimension.
  • type - One of the valid dimension types.

Example

js
dimension.createOrWipe("Account", "standard");
dimension.createOrWipe("Account", "standard");

Valid Dimension Types

  • Standard
  • Measure
  • Time
  • Scenario
  • Geography