Formats incompability #2

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

Formats incompability #2

Post by Tomi Urych »

Hello,
I came across another incompatibility between JS and .NET versions. I mentioned first one in viewtopic.php?p=160876#p160876. So conditions and the simplified "code" stays the same.

So just a brief recapitulation:
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 from 2021 to 2022 versions. In 2022 version there are missing hyperlinks on client side. I need to switch to 2022 version because of another problem solved in it (viewtopic.php?p=163690&hilit=JS+sorting+problem#p163690).

So can I ask you to solve this incompatibility ?
Thank you for answer.
Regards
Tom
Max Shamanov
Posts: 768
Joined: Tue Sep 07, 2021 10:11 am

Re: Formats incompability #2

Post by Max Shamanov »

Hello,

We couldn't reproduce the issue.
Please send us a sample report with test data that reproduces the issue for analysis.

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

Re: Formats incompability #2

Post by Tomi Urych »

Hello,
I just added a simple hyperlink to a textbox: SomeExtender.aspx?formtype=GenRep.

... and tried to display it with thi 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.
Attachments
Test.mrt
(9.14 KiB) Downloaded 151 times
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Formats incompability #2

Post by Lech Kulikowski »

Hello,

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

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

Re: Formats incompability #2

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue.
Please send us a sample project that reproduces the issue for analysis.

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

Re: Formats incompability #2

Post by Tomi Urych »

Hello,
sending required sample project. Project server generates real report to HTML and JS (binary) formats. Note there are many hyperlinks in HTML report. Load "report.js" in binary format into client project (web). Note there are no hyperlinks in client report.
Tested on 2022.3.1 version.
Thank you.
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Formats incompability #2

Post by Lech Kulikowski »

Hello,

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

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

Re: Formats incompability #2

Post by Tomi Urych »

Hello,
may I ask for any progress in this problem ?
Thank you.
Lech Kulikowski
Posts: 6198
Joined: Tue Mar 20, 2018 5:34 am

Re: Formats incompability #2

Post by Lech Kulikowski »

Hello,

We are working on the problem. We will let you know when the solution is available.

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

Re: Formats incompability #2

Post by Lech Kulikowski »

Hello,

Please check the last release build. We couldn't reproduce the issue on the last build.

Thank you.
Post Reply