GetDashboardDrill

Syntax

DashboardDrillInfo GetDashboardDrill(string mon)

Parameters

mon. Moniker for working with drilldown settings.

Description

The GetDashboardDrill operation gets drilldown settings for information panel visualizer.

Comments

The operation is used if a data model is a data source of information panel.

To execute the operation, in the mon field specify moniker for working with drilldown settings in the following format: Information panel instance moniker!MetaModels!Visualizer key!Pivot!Drill postfix.

The operation results in the obtained drilldown settings.

Example

Below is the example of getting information panel visualizer drilldown settings. The request contains moniker for working with the visualizer. The response contains the obtained settings.

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">
<GetDashboardDrill xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">HLIEOOACBDPGGOAELKNCDKLHHEGFLHKENKDOCAEJGJDPONIL!M!S!PJLPOLCBCBDPGGOAEKKPLPDAGMNFNNOPEAIDCMECMPLPFBBJE!MetaModels!1</mon>
  </GetDashboardDrill>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetDashboardDrillResult 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">
<pivotInfo xmlns="">
<dimensions>
<its>
<it>
  <k>2</k>
  </it>
  </its>
  </dimensions>
  <enabled>1</enabled>
  <strategy>Replace</strategy>
  </pivotInfo>
<modelInfo xmlns="">
<tables>
<its>
<it>
  <k>1</k>
  <nativeName>OBJ358202</nativeName>
  <customName>Subjects</customName>
  </it>
<it>
  <k>2</k>
  <nativeName>OBJ358203</nativeName>
  <customName>Objects</customName>
  </it>
  </its>
  </tables>
<fields>
<its>
<it>
  <k>2</k>
  <tableKey>1</tableKey>
  <dataType>1</dataType>
  <name>NAME</name>
  <customName>NAME</customName>
  </it>
<it>
  <k>4</k>
  <tableKey>2</tableKey>
  <dataType>1</dataType>
  <name>NAME</name>
  <customName>NAME</customName>
  </it>
<it>
  <k>5</k>
  <tableKey>2</tableKey>
  <dataType>1</dataType>
  <name>DESCR</name>
  <customName>DESCR</customName>
  </it>
  </its>
  </fields>
  </modelInfo>
  </GetDashboardDrillResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetDashboardDrill" :
{
"mon" : "HLIEOOACBDPGGOAELKNCDKLHHEGFLHKENKDOCAEJGJDPONIL!M!S!PJLPOLCBCBDPGGOAEKKPLPDAGMNFNNOPEAIDCMECMPLPFBBJE!MetaModels!1"
}
}

JSON response:

{
"GetDashboardDrillResult" :
{
"pivotInfo" :
{
"dimensions" :
{
"its" :
{
"it" :
[
{
"k" : "2"
}
]
}
},
"enabled" : "1",
"strategy" : "Replace"
},
"modelInfo" :
{
"tables" :
{
"its" :
{
"it" :
[
{
"k" : "1",
"nativeName" : "OBJ358202",
"customName" : "Subjects"
},
{
"k" : "2",
"nativeName" : "OBJ358203",
"customName" : "Objects"
}
]
}
},
"fields" :
{
"its" :
{
"it" :
[
{
"k" : "2",
"tableKey" : "1",
"dataType" : "1",
"name" : "NAME",
"customName" : "NAME"
},
{
"k" : "4",
"tableKey" : "2",
"dataType" : "1",
"name" : "NAME",
"customName" : "NAME"
},
{
"k" : "5",
"tableKey" : "2",
"dataType" : "1",
"name" : "DESCR",
"customName" : "DESCR"
}
]
}
}
}
}
}
public static DashboardDrillInfo GetDashboardDrill(string moniker, uint visKey)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetDashboardDrill()
{
mon = moniker + "!MetaModels!" + visKey
};
// Get visualizer drilldown settings
var result = somClient.GetDashboardDrill(tGet);
return result;
}

See also:

Working with Information Panels