JSON String Dump When Printing as PDF

Discussions about DocuVieware integration in GdPicture.NET.
Post Reply
OleBroseph
Posts: 11
Joined: Thu Jun 06, 2019 11:07 pm

JSON String Dump When Printing as PDF

Post by OleBroseph » Mon Sep 14, 2020 5:17 pm

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?
Attachments
DocuVieware JSON.PNG

User avatar
Fabio
Posts: 39
Joined: Thu Aug 27, 2020 9:57 am

Re: JSON String Dump When Printing as PDF

Post by Fabio » Wed Sep 16, 2020 5:49 pm

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

OleBroseph
Posts: 11
Joined: Thu Jun 06, 2019 11:07 pm

Re: JSON String Dump When Printing as PDF

Post by OleBroseph » Thu Sep 17, 2020 8:12 pm

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).
Attachments
JSON.png
Print Dialog.png

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests