DashboardManagedVisualizerInfoResult GetDashboardManagedElements(string mon)
mon. Moniker of opened information panel instance.
The GetDashboardManagedElements operation gets the list of visualizers that can be controlled by controls.
To execute the operation, in the mon field specify moniker of opened information panel instance. The moniker can be obtained on executing the OpenDashboard operation.
The operation results in the list of visualizers and the list of their data source fields.
Below is the example of getting the list of visualizers that can be controlled by controls. The request contains moniker of opened information panel instance. The response contains the obtained list of visualizers and their fields.
{
"GetDashboardManagedElements" :
{
"mon" : "DDAHEFONHJEHGOAEEDLJNELPBEBAIMJEJILGKJKBBPLABDMK!M!S!PMAMCNGONHJEHGOAEGHJFDCONGPFPHECEDKMIJJCJCFJDMONM"
}
}
{
"GetDashboardManagedElementsResult" :
{
"its" :
{
"it" :
[
{
"key" : "1",
"name" : "Table 1",
"its" :
{
"it" :
[
{
"key" : "1",
"name" : "Calendar"
},
{
"key" : "2",
"name" : "Cities"
},
{
"key" : "3",
"name" : "Facts"
}
]
}
},
{
"key" : "2",
"name" : "Column chart 1",
"its" :
{
"it" :
[
{
"key" : "1",
"name" : "Calendar"
},
{
"key" : "2",
"name" : "Cities"
},
{
"key" : "3",
"name" : "Facts"
}
]
}
},
{
"key" : "4",
"name" : "Radar chart 1",
"its" :
{
"it" :
[
{
"key" : "1",
"name" : "Calendar"
},
{
"key" : "2",
"name" : "Cities"
},
{
"key" : "3",
"name" : "Facts"
}
]
}
}
]
}
}
}
public static DashboardManagedVisualizerInfoResult GetDashboardManagedElements(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetDashboardManagedElements()
{
mon = moniker
};
// Get the list of visualizers that can be controlled by controls
var result = somClient.GetDashboardManagedElements(tGet);
return result;
}
See also: