survey-pdf icon indicating copy to clipboard operation
survey-pdf copied to clipboard

SurveyPDF on a server-side framework - Make the library compatible with Node.js

Open swapnil0545 opened this issue 3 years ago • 5 comments

This is a feature request. Currently we are creating the pdfs on the server side. But it seems that this library is using window and document objects at some places and hence the pdf doesn't get created when using those components. Would like to have the nodejs support for it.

swapnil0545 avatar Aug 18 '21 09:08 swapnil0545

Hello,

We already have a task to research support server rending for SurveyPDF. Here is corresponding ticket in our support center. We will update this thread in case any progress or information about this feature

Thanks, Alex

gologames avatar Aug 20 '21 10:08 gologames

Hello,

Has there been any progress made on server-side rendering of SurveyJS PDF?

We're looking at building an automated archival of the results of surveys as PDFs. To do this, we would need a way to generate a PDF of the survey and responses without the need of a user's web browser, hence using nodejs in the backend.

Thanks

pbros avatar Feb 17 '23 19:02 pbros

+1 request at https://github.com/surveyjs/survey-pdf/issues/200

JaneSjs avatar Feb 22 '23 10:02 JaneSjs

+1

T14181 - html formatting issue when generating pdf https://surveyjs.answerdesk.io/internal/ticket/details/T14181

JaneSjs avatar Aug 14 '23 08:08 JaneSjs

Hello, Just want to inform you that we published an example on how to export a sample survey on Node.js environment: Create PDF Forms in Node.js.

Please take note of a limitation regarding the question types unsupported on Node.js.

We hope this example may help. Should you have any questions or require further assistance, we are here to help.

JaneSjs avatar Aug 30 '23 16:08 JaneSjs