MetricSetService.addScriptHierarchy Method

Add a scripted hierarchy to a metric set.
 

Parameters

metricSetId

Type: String
The metric set ID.
script

Type: String
The formula script.
placement

Type: dundas.data.Placement
The placement for the new hierarchy.
defaultCaption

Type: String
(optional) The default caption for the new script hierarchy.
Optional: True
defaultUniqueName

Type: String
(optional) The default unique name for the new script hierarchy.
Optional: True

Return Value


Type: jQuery.Promise
Value: dundas.data.HierarchyUsage
The HierarchyUsage object.