bool SetDashboardDrill(string mon, PivotDrill tArg)
mon. Moniker for working with drilldown settings.
tArg. Drilldown settings that should be determined.
The SetDashboardDrill operation changes information panel visualizer drilldown settings.
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.
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.
{
"SetDashboardDrill" :
{
"mon" : "HLIEOOACBDPGGOAELKNCDKLHHEGFLHKENKDOCAEJGJDPONIL!M!S!PJLPOLCBCBDPGGOAEKKPLPDAGMNFNNOPEAIDCMECMPLPFBBJE!MetaModels!1",
"tArg" :
{
"dimensions" :
{
"its" :
{
"it" :
[
{
"k" : "2"
}
]
}
},
"enabled" : "true",
"strategy" : "Combine"
}
}
}
{
"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: