DashboardSources DashboardSourceRefresh(string mon, ItKey tArg)
mon. Moniker for working with information panel data sources.
tArg. Key of information panel data source.
The DashboardSourceRefresh operation refreshes information about information panel data source.
To execute the operation, in the mon field specify moniker of information panel instance with the !Sources postfix. The moniker can be obtained on executing the OpenDashboard operation. In the tArg field specify data source key. The required data source key can be obtained in the meta.sources field on executing the GetDashboardMeta operation.
After executing the operation, information about used data source structure is refreshed. The operation results in the updated list of information panel data sources.
Below is the example of refreshing information about information panel data source. The request contains moniker for working with data sources and key of data source. The response contains the updated list of information panel data sources.
{
"DashboardSourceRefresh" :
{
"mon" : "MBPHGLNIELAHGOAEOFNHKIGMDHEIDLFEGLIFNOMFJHKJHDJC!M!S!PKAMKOMNIELAHGOAEFBLGJFLKIOMLGAGEIJOOMOPFGMHNENBO!Sources",
"tArg" :
{
"k" : "1"
}
}
}
{
"DashboardSourceRefreshResult" :
{
"its" :
{
"it" :
[
{
"k" : "1",
"n" : "Standard cube",
"descr" :
{
"@ds" : "",
"@isShortcut" : "0",
"@isLink" : "0",
"@ver" : "4",
"@hf" : "0",
"i" : "OBJ427380",
"n" : "Standard cube",
"k" : "427380",
"c" : "1281",
"p" : "427328",
"h" : "0",
"hasPrv" : "0",
"ic" : "0",
"trackElementDependents" : "0"
},
"supportRemoveFields" : "0",
"isDefaultDestination" : "1",
"hasParams" : "0"
},
{
"k" : "2",
"n" : "For aggregation",
"descr" :
{
"@ds" : "",
"@isShortcut" : "0",
"@isLink" : "0",
"@ver" : "4",
"@hf" : "0",
"i" : "OBJ427380",
"n" : "Standard cube",
"k" : "427380",
"c" : "1281",
"p" : "427328",
"h" : "0",
"hasPrv" : "0",
"ic" : "0",
"trackElementDependents" : "0"
},
"supportRemoveFields" : "0",
"isDefaultDestination" : "0",
"hasParams" : "0"
}
]
}
}
}
public static DashboardSources DashboardSourceRefresh(string moniker, uint sourceKey)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tSet = new DashboardSourceRefresh()
{
tArg = new ItKey()
{
k = sourceKey
},
mon = moniker + "!Sources"
};
// Refresh data source
var result = somClient.DashboardSourceRefresh(tSet);
return result;
}
See also: