Passing data as Business Object DataSource to Databands in Javascript

Stimulsoft Reports.WEB discussion
Post Reply
JoaoCortez
Posts: 3
Joined: Wed May 02, 2018 5:11 pm

Passing data as Business Object DataSource to Databands in Javascript

Post by JoaoCortez »

Dear Sir/Madam,

My name is João Cortez, Product Manager at CMF.

We are in the process of migrating our current ASP GUI solution to a new HTML 5 GUI.

While migrating from the ASP.Net component to the new HTML 5 Designer for JS we lost the “Data from Business Objects” option, which was a critical feature in our current solution. Of special importance, is the ability to assign a Business Object DataSource to a DataBand. We currently generate on the server side several Business Objects and had the ability to use them in the ASP.Net designer, but in the JavaScript version of the component we could not find a way to achieve this - please refer to the picture below.

Could you please let me know if there is a workaround for this feature and/or if there are any plans to have this feature available in the JS component?

There is already a similar issue regarding this topic that can be found in this url: viewtopic.php?f=13&t=56398&start=10, but the answer was not very helpful.
Stimulsoft_DotNet_JavaScript_17Jan2019.png
Stimulsoft_DotNet_JavaScript_17Jan2019.png (169.91 KiB) Viewed 1440 times
Many Thanks in Advance & Best Regards,
João
Lech Kulikowski
Posts: 6243
Joined: Tue Mar 20, 2018 5:34 am

Re: Passing data as Business Object DataSource to Databands in Javascript

Post by Lech Kulikowski »

Hello,

Due to the limitations of JavaScript, Business Objects are not supported in the JS version.

As a way, you can try to implement your own data adapter which will retrieve data from your objects:
https://github.com/stimulsoft/Samples-J ... apter.html

Thank you.
JoaoCortez
Posts: 3
Joined: Wed May 02, 2018 5:11 pm

Re: Passing data as Business Object DataSource to Databands in Javascript

Post by JoaoCortez »

Many thanks for the reply, Mr. Kulikowski!
Lech Kulikowski
Posts: 6243
Joined: Tue Mar 20, 2018 5:34 am

Re: Passing data as Business Object DataSource to Databands in Javascript

Post by Lech Kulikowski »

Hello

We are always glad to help you!
Please let us know if you need any additional help.

Thank you.
Post Reply