MetricSetService.generateMetricSet Method

Generates a metric set based on the native object information given.
 

Parameters

parentObjectId

Type: String
The ID of the parent object this metric set will reside within.
nativeObjectId

Type: String
The ID of the native object to base this metric set on.
generatedDefaultElements

Type: Object
(optional) If a default element is dropped, it can be passed here to help generation. Structure:
     unknown           [type: Array, elementType: String]                - The unslotted elements to be used for generated.
     measures          [type: Array, elementType: String]                - The measures (unique name) to be used for generation.
     rows              [type: Array, elementType: String]                - The rows (unique name) to be used for generation.
     columns           [type: Array, elementType: String]                - The columns (unique name) to be used for generation.
     slicers           [type: Array, elementType: String]                - The slicers (unique name) to be used for generation.
 

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 created dundas.entities.MetricSet is returned.