GetDashboardManagedElements

Syntax

DashboardManagedVisualizerInfoResult GetDashboardManagedElements(string mon)

Parameters

mon. Moniker of opened information panel instance.

Description

The GetDashboardManagedElements operation gets the list of visualizers that can be controlled by controls.

Comments

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.

Example

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.

SOAP request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GetDashboardManagedElements xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">DDAHEFONHJEHGOAEEDLJNELPBEBAIMJEJILGKJKBBPLABDMK!M!S!PMAMCNGONHJEHGOAEGHJFDCONGPFPHECEDKMIJJCJCFJDMONM</mon>
  </GetDashboardManagedElements>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetDashboardManagedElementsResult xmlns="http://www.fsight.ru/PP.SOM.Som" xmlns:q1="http://www.fsight.ru/PP.SOM.Som" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<its xmlns="">
<it>
  <key>1</key>
  <name>Table 1</name>
<its>
<it>
  <key>1</key>
  <name>Calendar</name>
  </it>
<it>
  <key>2</key>
  <name>Cities</name>
  </it>
<it>
  <key>3</key>
  <name>Facts</name>
  </it>
  </its>
  </it>
<it>
  <key>2</key>
  <name>Column chart 1</name>
<its>
<it>
  <key>1</key>
  <name>Calendar</name>
  </it>
<it>
  <key>2</key>
  <name>Cities</name>
  </it>
<it>
  <key>3</key>
  <name>Facts</name>
  </it>
  </its>
  </it>
<it>
  <key>4</key>
  <name>Radar chart 1</name>
<its>
<it>
  <key>1</key>
  <name>Calendar</name>
  </it>
<it>
  <key>2</key>
  <name>Cities</name>
  </it>
<it>
  <key>3</key>
  <name>Facts</name>
  </it>
  </its>
  </it>
  </its>
  </GetDashboardManagedElementsResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetDashboardManagedElements" :
{
"mon" : "DDAHEFONHJEHGOAEEDLJNELPBEBAIMJEJILGKJKBBPLABDMK!M!S!PMAMCNGONHJEHGOAEGHJFDCONGPFPHECEDKMIJJCJCFJDMONM"
}
}

JSON response:

{
"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:

Working with Information Panels