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

The operation results in the logical True if the 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 and key of the dimension, by which drilldown will be available, and selection type. The response contains whether the settings were successfully changed.

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