EmbeddedViewService.embedMetricSet Method

Gets a metric set and embeds it in the given DOM element. Each embed method can only be called once. If another item is to be embedded, create a new embed service (and optionally dispose of this one) and use it to embed the new item.
 

Parameters

metricSetId

Type: String
The ID of the metric set to use.
options

Type: Object
 (optional)
     doNotCreateTemporaryCopy    [type: Boolean, optional: true]     - (optional) By default the metric set is copied into a temporary folder so the user can make changes to it even if it
                                                                                 is is not checked out to them. Setting this to true will use the metric set as-is.
 

Optional: True

Return Value


Type: jQuery.Promise
A promise object that is resolved when the call is complete.