getAllViewsState();
The getAllViewsState method returns an array of objects: states for settings of all tabs in the Parameters dialog box.
Executing the example requires that the HTML page contains the ParametersDialog component named parametersDialog (see Example of Creating the ParametersDialog Component). Get keys for tabs of the Parameters dialog box.
// Get a collection of state objects for the tabs of the Parameters dialog box
var states = parametersDialog.getAllViewsState();
for(var i = 0; i < states.length; i++) { // Get a state object for a specific tab
var state = states[i];
// Show tab key
console.log("SectionId: " + state.SectionId);
}
After executing the example the browser console displays keys of the Parameters dialog box tabs:
SectionId: SI_DataSourceParams
SectionId: SI_DimsView
See also: