I basically present user with modal dialog box to collect more information about report in report designer. And once that is done, I pass it along "saveReport" action.
However, I sending custom information too but I don't see that in server side. What is the way to make this happen?
Here is my code:
Code: Select all
jsStiMobileDesigner1.SendCommandSaveReport = function () {
var self = this;
window.parent.darro.reportUI.saveReport(function (templateDetails) {
self.options.reportIsModified = false;
self.options.report.reportName = templateDetails.reportName;
var params = {};
params.command = "SaveReport";
params.reportName = templateDetails.reportName;
params.reportObject = window.btoa(templateDetails); //this is report details that I collected in modal dialog
self.AddCommandToStack(params);
});
}