GetVisualizerKeysCanControlled

Syntax

DashboardKeysResult GetVisualizerKeysCanControlled(string mon)

Parameters

mon. Moniker for working with information panel control.

Description

The GetVisualizerKeysCanControlled operation gets the list of visualizers that can be controlled by the control.

Comments

To execute the operation, in the mon field specify moniker of opened information panel instance with the !Controls!Control key postfix. The moniker can be obtained on executing the OpenDashboard operation.

The operation results in the list of visualizers that can be controlled.

Example

Below is the example of getting the list of visualizers that can be controlled by the control. The request contains control moniker. The response contains the obtained list of visualizers.

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">
<GetVisualizerKeysCanControlled xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">DDAHEFONHJEHGOAEEDLJNELPBEBAIMJEJILGKJKBBPLABDMK!M!S!PMAMCNGONHJEHGOAEGHJFDCONGPFPHECEDKMIJJCJCFJDMONM!Controls!2</mon>
  </GetVisualizerKeysCanControlled>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetVisualizerKeysCanControlledResult 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>2</key>
  <name>Column chart 1</name>
  <type>Chart</type>
  <chartType>Bars</chartType>
  <externalType />
  </it>
<it>
  <key>4</key>
  <name>Radar chart 1</name>
  <type>Chart</type>
  <chartType>Petals</chartType>
  <externalType />
  </it>
  </its>
  </GetVisualizerKeysCanControlledResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetVisualizerKeysCanControlled" :
{
"mon" : "DDAHEFONHJEHGOAEEDLJNELPBEBAIMJEJILGKJKBBPLABDMK!M!S!PMAMCNGONHJEHGOAEGHJFDCONGPFPHECEDKMIJJCJCFJDMONM!Controls!2"
}
}

JSON response:

{
"GetVisualizerKeysCanControlledResult" :
{
"its" :
{
"it" :
[
{
"key" : "2",
"name" : "Column chart 1",
"type" : "Chart",
"chartType" : "Bars",
"externalType" : ""
},
{
"key" : "4",
"name" : "Radar chart 1",
"type" : "Chart",
"chartType" : "Petals",
"externalType" : ""
}
]
}
}
}
public static DashboardKeysResult GetVisualizerKeysCanControlled(string moniker, string controlKey)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetVisualizerKeysCanControlled()
{
mon = moniker + "!Controls!" + controlKey
};
// Get the list of visualizers that can be controlled by control
var result = somClient.GetVisualizerKeysCanControlled(tGet);
return result;
}

See also:

Working with Information Panels