Thanks, it's working today. Hopefully this is an issue that doesn't happen often.
Another question, for the credits, what makes up one credit unit and do they replenish on the 1st of the month?
chriscrowley
@chriscrowley
Posts made by chriscrowley
-
RE: jsreport Online with SQL Server
-
RE: jsreport Online with SQL Server
I'm not sure what the performance issue is. It times out. Wasn't like that when we were still running a local instance of jsreport. We're still on the free tier until I can prove it works just as well as the local instance. Will we see a significant performance increase when we switch to the paid version? Could this timeout be related to the
jsreport.npm.require
?
-
RE: jsreport Online with SQL Server
Where is the config file located for jsreport Online?
-
RE: jsreport Online with SQL Server
Is it possible or advisable to add those two
require
lines to some global file that each of the report script files reference? Would it help at all with performance? -
RE: jsreport Online with SQL Server
Thanks! That worked. I'm glad I asked because ChatGPT and Copilot were saying it wasn't possible.
I replaced:
const sql = require('mssql');
With:
const jsreport = require('jsreport-proxy');
const sql = await jsreport.npm.require('mssql@latest');
-
jsreport Online with SQL Server
I successfully convinced my client to migrate from a self-hosted instance of jsreport to the cloud-based jsreport Online. This change was necessary as we're moving from a Ubuntu VM to Azure App Service, which doesn’t support self-hosted jsreport. However, after exporting all our reports and importing them into jsreport Online, we encountered errors due to the use of the
mssql
npm package. Is this package not supported in jsreport Online? We have tons of reports and all of them rely on connecting to SQL Server, which provides the JSON. I just assumed it was as flexible as the self-hosted version. Is there any way to connect to SQL Server and access the report data from jsreport Online?Thanks,
Chris -
RE: Merging static-pdf, orientation issues
I've having the exact same issue. Did you find a solution to this?
-
RE: Blank Page When Appending Reports
Upgrading to 2.11.0 did the trick. Thanks!
-
RE: Blank Page When Appending Reports
I'm afraid to upgrade to the newest version because it'll probably break stuff. Is it possible to upgrade to version 2.10.0?
Would the command line to upgrade be?:npm install @jsreport/jsreport-cli@2.10.0 -g
-
RE: Blank Page When Appending Reports
Is pdfUtils.removePages a newer function?
TypeError: jsreport.pdfUtils.removePages is not a function at Object.afterRender (evaluate-user-script.js:4:43) at __runAfter (/var/www/jsreportapp/node_modules/jsreport-scripts/lib/scriptEvalChild.js:127:28) at Object.base.apply (/var/www/jsreportapp/node_modules/vm2/lib/contextify.js:469:32) at evaluate-user-script.js:7:1 at Script.runInContext (vm.js:135:20) at VM.run (/var/www/jsreportapp/node_modules/vm2/lib/main.js:219:62) at run (/var/www/jsreportapp/node_modules/jsreport-core/lib/render/safeSandbox.js:183:19) at module.exports (/var/www/jsreportapp/node_modules/jsreport-scripts/lib/scriptEvalChild.js:170:5) at process.<anonymous> (/var/www/jsreportapp/node_modules/script-manager/lib/worker-processes.js:66:36) at process.emit (events.js:197:13)
We're using version: 2.6.1