MetricSetService.replaceElement Method

Replaces an element on the given metric set.
 

Parameters

metricSetId

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

Type: String
The name of the element to replace.
elementUniqueName

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

Type: String
(optional) The ID of the parent object of the element. If this is not specified, it's assumed it's another element from the same metric set.
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.