I am not aware of our changes, but Chrome has changed the things recently quite a lot. It should be easy to try things with the latest to see the difference.
Posts made by admin
-
RE: Chrome-pdf scaling down content issue
-
RE: XLSX template rendering problem.
I was just using config defaults..
I can't delete it because there are formulas in the rows.
How do you fill in the values? Using
xlsxInsert
,xlsxAdd
, and other transformation helpers?
Maybe you can use them to create the formulas dynamically as well instead of prefilling empty worksheet? -
RE: XLSX template rendering problem.
This runs for 2s on the latest jsreport 4.7.0. Are you able to update?
On 3.10.0 it runs for 57s for me. However, you have there many rows in the template that don't need to be there I guess. If you remove the rows from 5 to end, it runs for 2s.
-
RE: Limit on fs store
This is documented here
https://jsreport.net/learn/scheduling#configuration -
RE: Import Template Performance Issue after upgrade to 4.7.0 from 4.3.1
I've tried the azure web app with all defaults and azure file share mount with defaults.
The import of Stock report showcase merge/full takes the same amount of time (10s) for both 4.7.0 and 4.3.1 jsreprot images.Would you email me the data you have stored and the export that you are importing?
-
RE: Limit on fs store
I see, so you use the reports extension to store the rendering outputs. You can find in the docs the cleaning configs here
https://jsreport.net/learn/reports#cleanup -
RE: Docx Template with handlebars to PDF
You have two options.
Use unoconv extension which allows to convert docx to pdf
https://jsreport.net/learn/unoconvWrite two separate templates for docx and pdf. One using handlebars in docx template and second using html and chrome convert.
-
RE: Limit on fs store
Do you mean the profiles/logs? This can be limited with this config. Default 1000
{ "profiler": { "maxProfilesHistory": 1000 } }
-
RE: Is License linked to Server?
If you have a single instance license, then you should attach the license only to one server. The dev servers should be marked with config
{ "license": { "development": true } }
You will receive warnings in the studio and logs if you have multiple active servers with the same license.
If the question is that if you can apply the license key on one server, then stop the server and apply to a different server, then yes you can do this.
-
RE: External images broken in chrome-pdf
@candy-man try to check the profile tab for the chrome logs..
One of the reasons could be that the image route is authenticated and your browser holds the auth cookie so it works with html, but the background chrome doesn't have the auth cookie so it doesn't load the image.
-
RE: how do I convert pdf report chart to html-to-xlsx?
This recipe cannot convert your
html/js
chart into excel chart.However you can place your chart into the excel template and reference your future dynamic values
https://jsreport.net/learn/html-to-xlsx#insert-output-into-xlsx-template
https://playground.jsreport.net/w/admin/VvaGnaE_ -
RE: Failed to launch the browser process no usable sandbox
Please try to check our installation manual for your specific distribution
https://jsreport.net/on-prem
https://jsreport.net/learn/ubuntu
https://jsreport.net/learn/red-hat -
RE: Chrome-pdf scaling down content issue
So is it 100% the same code?
I'm not aware of setting to prevent scalling.
-
RE: Generating preview error message
It seems the chrome directory in temp got deleted.
Try to delete folder
tmp/jsreport
and start again. -
RE: Possible to use express or other means to marshal data from client to server via AJAX?
jsreport doesn't eval html output of the html recipe. It wouldn't be reasonable.
-
RE: Best practice for setting up jsreport + custom express routes
Replacing the
server.js
makes the most sense to me.You need to set
license.development=true
if you have the single instance license and want to use the local instance as dev free. -
RE: Chrome-pdf scaling down content issue
There should be no difference. Try to compare your html output and the html produced in studio. Is it 100% the same? Maybe you reference some external styles that are badly resolved ?
-
RE: Generate PDFs as output | unreadable content in wordfile
However, I’m running into an issue. Whenever I open the generated Word report, I receive a warning: "Unreadable content in the Word file."
Are you able to share a minimal demo that creates "Unreadable content in the Word file." We would look what can be wrong.
https://playground.jsreport.net/Any insights on how to achieve both Word and PDF outputs ?
You have two options...
You define two templates, one using
docx
recipe to produce word document and one usingchrome-pdf
recipe producing pdf from html.Or you use unoconv extension, which uses libreoffice on background and converts word to pdf.
https://jsreport.net/learn/unoconv -
RE: Heads up: "opacity: 0.3;" vs "filter: opacity(30%)"
Don't you have the pdf/a or pdf/ua enabled in the pdf utils options?
I have no theory why would the pdf utils could break it otherwise. Maybe you can create minimal exprt so we can check it.