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: 173
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

SyKaufax
Posts: 5
Joined: Fri Jun 25, 2021 5:02 pm

Re: JSON String Dump When Printing as PDF

Post by SyKaufax » Wed Jul 20, 2022 6:05 pm

What is the fix for this issue?

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

Re: JSON String Dump When Printing as PDF

Post by Fabio » Tue Aug 02, 2022 9:56 am

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

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest