Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html-to-xlsx only works with template engine #10

Closed
walter-psjr opened this issue Jul 22, 2015 · 2 comments
Closed

html-to-xlsx only works with template engine #10

walter-psjr opened this issue Jul 22, 2015 · 2 comments

Comments

@walter-psjr
Copy link

On the playground the html-to-.XLSX recipe works without the use of an engine. We have reports made in angularjs receiving data. In the version embedded the result is the raw HTML:

Playground - https://playground.jsreport.net/#playground/G7woltPbUt/1

Embedded -
image

I tried to update the HTML-to-xlsx and xlsx extensions according to the latest version of jsreport standalone but is returning the following error:

image

@pofider
Copy link
Contributor

pofider commented Jul 31, 2015

The fix is just in:
jsreport-net-embedded\node_modules\html-to-xlsx\lib\phantomScript.js

last line:67
page.setContent(JSON.parse(req.post), "http://localhost");

The official release of jsreport for .net should come soon.

@pofider
Copy link
Contributor

pofider commented Sep 23, 2015

Already fixed in 0.8.1

@pofider pofider closed this as completed Sep 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants