jsreport / nodejs-client

Nodejs remote client for jsreport
MIT License
4 stars 3 forks source link

Sign in & Redirect Issue whenever request is sent #8

Closed A-Pradeep closed 6 years ago

A-Pradeep commented 6 years ago

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

Help me out...

pofider commented 6 years ago

Duplicate of https://github.com/jsreport/jsreport/issues/456