ControlInfoEx GetControlInfo(string mon)
mon. Moniker for working with object parameter management settings.
The GetControlInfo operation gets settings for managing nested objects parameters.
To execute the operation, in the mon fields specify moniker of opened object instance with the !Params!CtlInfo postfix. The moniker can be obtained after executing the operation with the Open* postfix according to object type.
The operation results in the collection of elements with information about nested object management parameters.
Below is the example of getting nested object management settings in regular report. The request contains moniker of regular report instance. The response contains the obtained settings.
{
"GetControlInfo" :
{
"mon" : "MJGJPMLCOOJPFOAEIHPBNIFBHFLBMOHEEKEJHIHCJICHMNBF!M!S!PEFGDCCMCOOJPFOAEAMDIPOAEKOCCCDKEMJPIBDDOBOHPHKBH!Params!CtlInfo"
}
}
{
"GetControlInfoResult" :
{
"controls" :
{
"it" :
{
"controlledObject" :
{
"n" : "Slice 1",
"k" : "1",
"c" : "2049"
},
"controlParams" :
{
"it" :
{
"controlledParam" :
{
"id" : "DATE",
"name" : "Date",
"key" : "1",
"dataType" : "4"
},
"expression" : "{@ITEM}"
}
}
}
}
}
}
public static ControlInfoEx GetControlInfo(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetControlInfo()
{
mon = moniker + "!Params!CtlInfo"
};
// Get settings for managing nested object parameters
var result = somClient.GetControlInfo(tGet);
return result;
}
See also: