ViewParameter.getFirstParameter Method

Gets the first parameter that this view parameter is acting on. This is most useful when the hierarchy is needed.
 

Parameters

metricSetService

(optional) The metric set service to use for the metric set retrieval. This must be supplied if the binding is in another DOM window, otherwise all instanceof comparisons will fail.
Optional: True
currentView

Type: CanvasAdapter
(optional) If supplied, will be used during the metric set binding link resolution instead of window.dundas.context.baseViewService.currentView.
Optional: True

Return Value


Type: jQuery.Promise
Value: dundas.data.Parameter
The promise object that is resolved with the parameter, or rejected if it could not be retrieved. This may be null.