Dashboard.setOverrides Method

Sets the default overrides and pushes any defaultViewParameterValues to the correct view parameter values.
 

Parameters

overrides

Type: ViewOverrides
The view overrides to apply.
refreshData

Type: Boolean
(optional) If set to true, will cause all adapters connected to the view parameters to refresh. Defaults to false.
Optional: True
currentView

Type: CanvasAdapter
(optional) This must be set if query string values are to be used. If it is not, they will be ignored during load.
Optional: True

Return Value


Type: jQuery.Promise
Promise object of setting the overrides.