Page 1 of 1

JSON String Dump When Printing as PDF

Posted: Mon Sep 14, 2020 5:17 pm
by OleBroseph
When printing as PDF, we just receive a JSON string in the browser instead of the file being downloaded. We are on the latest version of DocuVieware, and using .NET Core 3.1 and NewtonSoftJson 3.1.5. I noticed that this same problem happens in the provided sample for the MVC Razor App.

Is there something simple we missed here? What other information do you need?

Re: JSON String Dump When Printing as PDF

Posted: Wed Sep 16, 2020 5:49 pm
by Fabio
Hello there,

I need more information concerning your issue.

Are you using a custom print button or the standard one?
If you're using a custom print, please share your code.
If you're using the standard print, please share the parameters you set in the DocuVieware popup-up and in the browser print modal.

Best regards,
Fabio de Rose
Solution Engineer

Re: JSON String Dump When Printing as PDF

Posted: Thu Sep 17, 2020 8:12 pm
by OleBroseph
Hi,

We are using the standard print button.

I've attached some screenshots. Once we select the parameters and click print the JSON response is displayed in the browser.

The information displayed on the document is test data (if that was a concern).

Re: JSON String Dump When Printing as PDF

Posted: Wed Jul 20, 2022 6:05 pm
by SyKaufax
What is the fix for this issue?

Re: JSON String Dump When Printing as PDF

Posted: Tue Aug 02, 2022 9:56 am
by Fabio
Hello,

I tested our Razor sample app with the latest version and everything went fine.
Are you using our latest release? If not could you update your SDK to the latest version, please?

If you still facing the issue, will you be available for a meeting?
That will be the easiest way to check out what could be wrong with the app.

Best regards,
Fabio