public void ExecuteXMLDefinedDialog(string command)
{
if (AdvancedLogging) logService.WriteToLogLevel("ExtraLogs: templated dialog execution.", LogLevelEnum.Info);
//UAReturn retval = new UAReturn();
retval.Success = true;
AnalyticsData data = new AnalyticsData();
data.SelectedForDump = selectedForDump;//10Jan2013
data.PreparedCommand = command;// cmd.CommandSyntax;//storing command
data.Result = retval;
//18Nov2013 replared by following data.AnalysisType = cmd.CommandSyntax;
//data.AnalysisType = cmd.CommandSyntax.Equals("bskyfrmtobj") ? ((UAMenuCommand)parameter).commandtype : cmd.CommandSyntax; //"T-Test"; For Parent Node name 02Aug2012
data.AnalysisType = command.Equals("bskyfrmtobj") ? ((UAMenuCommand)parameter).commandtype : command; //"T-Test"; For Parent Node name 02Aug2012
data.InputElement = element;
data.DataSource = ds;
data.OutputTemplate = ((UAMenuCommand)parameter).commandoutputformat;
if (AdvancedLogging) logService.WriteToLogLevel("ExtraLogs: AnalysisComplete() function called:", LogLevelEnum.Info);
UIController.AnalysisComplete(data);
}