Thanks for your quick reply but it not helped us. I am describing the scenario again -
We have MVC application and from there we are calling Seal Report(in iFrame control). Report is loading correctly in iFrame.
We want to pass 3 parameters namely UserId(logged in user), BaselineID(Category) and Counter(who gets number of records).
We tried below code in MVC application where we tried to pass UserId as a single parameter.
But seems that that is not getting captured in Seal Report as data is not filtering when we ran the report.
var user = localStorage.getItem("userID");
var baselineID = this.serverTypeId;
if (this.selectedValue == "") { this.selectedValue = "5"; }
var selectedCount = this.selectedValue;
var sealServer = "http://192.168.10.54/seal/";
var form = $('<form method="post" target="Companyiframe" />');
form.attr('action', sealServer + "SWExecuteReportToResult");
form.append($('<input />').attr('type', 'hidden').attr('name', 'path').attr('value', "\\Newreport - Copy.srex"));
form.append($('<input />').attr('name', 'UserId').attr('value', "UserId"));
form.append($('<input />').attr('name', 'Operator').attr('value', "Contains"));
form.append($('<input />').attr('name', 'r0_value_1').attr('value', user));
//form.append($('<input />').attr('type', 'hidden').attr('name', 'user').attr('value', user));
//form.append($('<input />').attr('type', 'hidden').attr('name', 'baselineID').attr('value', baselineID));
//form.append($('<input />').attr('type', 'hidden').attr('name', 'selectedCount').attr('value', selectedCount));
form.children('input').attr('type', 'hidden');
$('body').append(form);
form.submit();
Here is link for report we designed and called in MVC application
-
https://drive.google.com...b4QX93M/view?usp=sharingI would appreciate your quick reply as we are new to Seal Report and struggling at the moment.