MetricSetService.addElement Method

Adds the given element to the given metric set.
 

Parameters

metricSetId

Type: String
The ID of the metric set to add the element to.
elementParentId

Type: String
The ID of the parent object of the element.
elementUniqueName

Type: String
The name of the element to add (i.e. column name).
placement

Type: PlacementPosition
(optional) The placement for this new element.
Optional: True
hierarchyLevelUniqueName

Type: String
(optional) The unique name of the level, if a hierarchy level is being added.
Optional: True

Return Value


Type: jQuery.Promise
Value: dundas.entities.MetricSet
A promise object that is resolved when the call is complete. If successful, the updated dundas.entities.MetricSet is returned.