element.create deprecated
DANGER
Note that this has been deprecated in favour of
- hierarchy.group (for child elements)
- hierarchy.structure (for parent elements).
Creates an element within a dimension under no hierarchy.
js
element.create(dimension, name, type);
Parameters
dimension
- The dimension in which to create an element.name
- The identifier of the element created.type
- EitherN
orS
, depending on the data type held against it. HoweverS
is only ever used in measures dimensions.
Example
js
element.create("Account", "600010", "N");