Silverlight BusinessObjects Data in ReportJs not displaying properly

Stimulsoft Reports.JS discussion
Post Reply
Anas
Posts: 34
Joined: Thu Dec 29, 2022 2:37 pm

Silverlight BusinessObjects Data in ReportJs not displaying properly

Post by Anas »

Hi All,
In our Silverlight Reports, we were using Business Objects, some fields are coming outside and a few are inside the dataset as shown in the image below.
image2.png
image2.png (60.84 KiB) Viewed 622 times
This is working perfectly fine in our Silverlight reports

The issue is with Report.js it is not showing the fields that are coming outside in the same dataset, those fields are coming but need to be represented as another dataset as shown in the image below.
image1.png
image1.png (95.15 KiB) Viewed 622 times
As you can see here we need to break it into 2 parts and we need to introduce on Usat2 to incorporate that which should not be the case as in Silverlight these reports were getting displayed as required.

Can you please suggest what can be done here to rectify this issue.

Thanks,
Lech Kulikowski
Posts: 6458
Joined: Tue Mar 20, 2018 5:34 am

Re: Silverlight BusinessObjects Data in ReportJs not displaying properly

Post by Lech Kulikowski »

Hello,

In the JS version, business objects are not supported.
You can use custom data adapters instead:
https://github.com/stimulsoft/DataAdapters.JS

Thank you.
Anas
Posts: 34
Joined: Thu Dec 29, 2022 2:37 pm

Re: Silverlight BusinessObjects Data in ReportJs not displaying properly

Post by Anas »

Hi Lech,
Thanks for your reply we are already using the Data Adapters.
I am attaching the json which you can use and check at your end in the reports designer.
JSON File :-
report_data_09_Apr.json
(208.23 KiB) Downloaded 50 times
The screenshot that I am attaching is from your online designer itself.
image.png
image.png (54.29 KiB) Viewed 430 times
Kindly check in the provided json file it is breaking the data under the data adapter Usat into records and Table1, it introduced table1 on its own ideally those records are directly under Usat which are working perfectly fine in Sivlerlight.
Lech Kulikowski
Posts: 6458
Joined: Tue Mar 20, 2018 5:34 am

Re: Silverlight BusinessObjects Data in ReportJs not displaying properly

Post by Lech Kulikowski »

Hello,

Please send test data for your report.

Thank you.
Anas
Posts: 34
Joined: Thu Dec 29, 2022 2:37 pm

Re: Silverlight BusinessObjects Data in ReportJs not displaying properly

Post by Anas »

Hi Lech,
Thanks for your reply I have already attached the json file in my earlier reply can you please check.
Lech Kulikowski
Posts: 6458
Joined: Tue Mar 20, 2018 5:34 am

Re: Silverlight BusinessObjects Data in ReportJs not displaying properly

Post by Lech Kulikowski »

Hello,

Your json file - is the report template.
How do you register your data?

Thank you.
Anas
Posts: 34
Joined: Thu Dec 29, 2022 2:37 pm

Re: Silverlight BusinessObjects Data in ReportJs not displaying properly

Post by Anas »

Hi Lech,
Thanks for your reply, if you are opening the json file are you not seeing the data as shown in the image. ?
Because the same is working perfectly in Silverlight does it have anything to do how we are doing data binding?

Thanks,
Lech Kulikowski
Posts: 6458
Joined: Tue Mar 20, 2018 5:34 am

Re: Silverlight BusinessObjects Data in ReportJs not displaying properly

Post by Lech Kulikowski »

Hello,

No. You register your data from the code.

Thank you.
Attachments
Screenshot 2024-05-24 201642.png
Screenshot 2024-05-24 201642.png (31.26 KiB) Viewed 364 times
Post Reply