bool SetDashboardDrill(string mon, PivotDrill tArg)
mon. Moniker for working with drilldown settings.
tArg. Drilldown settings that should be determined.
The SetDashboardDrill operation changes drilldown settings for information panel visualizer.
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.
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.
{
"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: