SetDashboardDrill

Syntax

bool SetDashboardDrill(string mon, PivotDrill tArg)

Parameters

mon. Moniker for working with drilldown settings.

tArg. Drilldown settings that should be determined.

Description

The SetDashboardDrill operation changes information panel visualizer drilldown settings.

Comments

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

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, and in the tArg field specify drilldown settings.

The operation results in the logical True if drilldown settings were changed successfully.

Example

Below is the example of changing information panel visualizer drilldown settings. The request contains moniker for working with drilldown settings, key of the dimension, in which drilldown will be available, and selection strategy. The response contains whether settings were changed successfully.

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">
<SetDashboardDrill xmlns="http://www.fsight.ru/PP.SOM.Som">
  <mon xmlns="">HLIEOOACBDPGGOAELKNCDKLHHEGFLHKENKDOCAEJGJDPONIL!M!S!PJLPOLCBCBDPGGOAEKKPLPDAGMNFNNOPEAIDCMECMPLPFBBJE!MetaModels!1</mon>
<tArg xmlns="">
<dimensions>
<its>
<it>
  <k>2</k>
  </it>
  </its>
  </dimensions>
  <enabled>true</enabled>
  <strategy>Combine</strategy>
  </tArg>
  </SetDashboardDrill>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
  <SetDashboardDrillResult 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">1</SetDashboardDrillResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"SetDashboardDrill" :
{
"mon" : "HLIEOOACBDPGGOAELKNCDKLHHEGFLHKENKDOCAEJGJDPONIL!M!S!PJLPOLCBCBDPGGOAEKKPLPDAGMNFNNOPEAIDCMECMPLPFBBJE!MetaModels!1",
"tArg" :
{
"dimensions" :
{
"its" :
{
"it" :
[
{
"k" : "2"
}
]
}
},
"enabled" : "true",
"strategy" : "Combine"
}
}
}

JSON response:

{
"SetDashboardDrillResult" : "1"
}
public static bool SetDashboardDrill(string moniker, uint visKey, ItCollectionEx drillDims)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tSet = new SetDashboardDrill()
{
tArg = new PivotDrill()
{
dimensions = drillDims,
enabled = true,
strategy = PivotDrillSelectionStrategy.Combine
},
mon = moniker + "!MetaModels!" + visKey
};
// Change visualizer drilldown settings
var result = somClient.SetDashboardDrill(tSet);
return result;
}

See also:

Working with Information Panels