DashboardDrillInfo GetDashboardDrill(string mon)
mon. Moniker for working with drilldown settings.
The GetDashboardDrill operation gets 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.
The operation results in the obtained drilldown settings.
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.
{
"GetDashboardDrill" :
{
"mon" : "HLIEOOACBDPGGOAELKNCDKLHHEGFLHKENKDOCAEJGJDPONIL!M!S!PJLPOLCBCBDPGGOAEKKPLPDAGMNFNNOPEAIDCMECMPLPFBBJE!MetaModels!1"
}
}
{
"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: