MetricSetService.generateMetricSetFromDataConnector Method

Generates a metric set based on the data connector given. This is a blind generation, using a default structure. This is mostly used when the user doesn't specify which structure.
 

Parameters

parentObjectId

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

Type: String
The ID of the data connector to base this metric set on.

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.