Hi , im using the JSReport in the server and i've create a xlsx template .
In the simple HTML page i have created a simple code , whenever the submission happens:
form.on('submit', function (submission) {
var data = submission;
jsreport.serverUrl = 'http://mydomain.com:5488';
var request = {
template: {
shortid: "Sk5M6JGcm"
},
data: data
};
jsreport.render('_blank', request);
});
Here i written this code and the main problem is
that , whenever i click submit , i'll be redirected , and by default the chrome will block the redirect, so how can i download the file without redirecting.
If i give redirect access , i'll be asked sign in . so i wanted to know , how can i just download the xlsx template without any sign in or redirect. I've noticed the share link in the server studio , but since im new , i have no idea how to use.
Hi , im using the JSReport in the server and i've create a xlsx template . In the simple HTML page i have created a simple code , whenever the submission happens:
Here i written this code and the main problem is
share
link in the server studio , but since im new , i have no idea how to use.Help me out...