Formats incompability

Stimulsoft Dashboards.JS discussion
Post Reply
Tomi Urych
Posts: 15
Joined: Wed Jan 23, 2019 12:38 pm

Formats incompability

Post by Tomi Urych »

Hello,
I am using Stimulsoft report for about 11 years and first time I came across the problem I'm not able to solve it without your help.

I am using combination od Stimulsoft.JS Designer / Viewer on client side and Stimulsoft.NET on server side for rendering. Report is created in Stimulsoft.JS Designer and saved into database. When the report is printed, server renders report with Stimulsoft.NET, saves it with StiReport.SavePackedDocumentToString() and sends it to the client. Client loads the report with Stimulsoft.JS method StiReport.loadPackedDocument() and displays it with Stimulsoft.JS viewer.

This worked fine until I switched to 2020, resp.2021 versions. When I create simple report in JS version, put one textbox with borders into it, render report with NET version and send back to the client, borders are missing.

I tried to use another formats (saveDocumentToJsonString), but there is another problem with missing hyperlinks.

So my question is: is there any format which I am able to send report rendered in Stimulsoft.NET and view it with the Stimulsoft.JS version ?

Thank you for answer.

Regards
Tom
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Formats incompability

Post by Lech Kulikowski »

Hello,

Could you send us your report template (mrt) and rendered report (mdc) for analysis?

Thanky ou.
Tomi Urych
Posts: 15
Joined: Wed Jan 23, 2019 12:38 pm

Re: Formats incompability

Post by Tomi Urych »

Hello,
sending requsted.

Regards
Tom
Attachments
Test.mrt
(9.05 KiB) Downloaded 170 times
Test.mdc
(2.23 KiB) Downloaded 168 times
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Formats incompability

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue on our samples.
Could you send us a sample project (JS side) that reproduces the issue for analysis?

Thank you.
Tomi Urych
Posts: 15
Joined: Wed Jan 23, 2019 12:38 pm

Re: Formats incompability

Post by Tomi Urych »

Hello,
sending simplified "code":
=================================================
Server side:
'Using Stimulsoft.NET 2021.2.1

Dim oReport As StiReport
'load report from XML template or compiled DLL ...
oReport.Render(False)

Dim sHTMLReport as String
'generate HTML page with rendered report and send it to the client
sHTMLReport &= "var STIreport = "
sHTMLReport &= "'" & oReport.SavePackedDocumentToString() & "';"
=================================================
Client side:
//Using Stimulsoft.JS 2021.2.1

//load reportObject from HTML page and initialize StiReport object
var reportObject „packedDocumentString….“
var _report = new Stimulsoft.Report.StiReport();
_report.loadPackedDocument(reportObject);

//display report in viewer
var options = new Stimulsoft.Viewer.StiViewerOptions();
var _viewer = new Stimulsoft.Viewer.StiViewer(options, "StiViewer", false);
_viewer.report = _report;
_viewer.renderHtml("viewerContent");

Thank you.
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Formats incompability

Post by Lech Kulikowski »

Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.
#3883
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Formats incompability

Post by Lech Kulikowski »

Hello,

The issue is fixed. The fix will be available in the next release build.

Thank you.
Tomi Urych
Posts: 15
Joined: Wed Jan 23, 2019 12:38 pm

Re: Formats incompability

Post by Tomi Urych »

Hello,
thank you for the fix. I'm looking forward to a new version.
Tom
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Formats incompability

Post by Lech Kulikowski »

Hello,

You are welcome!
Post Reply