DrillActionResult DrillCheck(string mon, DrillArguments drillArgs)
mon. Moniker of the Table visualizer.
drillArgs. Operation execution parameters.
The DrillCheck operation checks if data can be drilled down.
To execute the operation, in the mon field specify regular report instance moniker with the !DataArea!DataSources!source key!DataSourceSlices!slice key!Views!table key postfix to work with visualizer, and in the drillArgs field specify drill down check parameters. The moniker can be obtained on executing the OpenPrxMeta operation.
The operation results in the integer value combined from available drill down methods.
Below is the example of checking if data can be drilled down. The request contains the table moniker and the checked cell range. The response contains the number corresponding to a combination of available data drill down methods.
{
"DrillCheck" :
{
"mon" : "CHCLOAMOHNMNFOAEAOBHLKNHNLECIIEECIEPIFJKDPMAKEHH!M!S!PJMCKNEMOHNMNFOAEACDENOFJJPKEDLHEMIJKOGIFKAHGPPCI!DataArea!DataSources!1!DataSourceSlices!1!Views!1",
"drillArgs" :
{
"method" : "1",
"grid" :
{
"rng" :
{
"left" : "0",
"top" : "0",
"width" : "0",
"height" : "0",
"address" : "C2"
}
}
}
}
}
{
"DrillCheckResult" :
{
"methods" : "3"
}
}
public static DrillActionResult DrillCheck(string moniker, uint sourceKey, uint sliceKey, uint viewKey, TabComplexRange drillRange)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tDrill = new DrillCheck()
{
drillArgs = new DrillArguments()
{
method = 1,
grid = new GridDrillArgs()
{
rng = drillRange
}
},
mon = moniker + "!DataArea!DataSources!" + sourceKey.ToString() + "!DataSourceSlices!" + sliceKey.ToString() + "!Views!" + viewKey.ToString()
};
// Check if data can be drilled down in table
var result = somClient.DrillCheck(tDrill);
return result;
}
See also: