Array of objects as data source
Posted: Sat Jul 20, 2019 2:22 pm
Hi,
I'm working on a report which needs to load some arbitrary data. I've prepared the report template with ASP.NET Core and configured several business objects that I load into the report when I want to view/render it.
However, when I tried to use this template with the JS library, nothing was working anymore (even though there is a regbusinessobject function on the report object). I've checked this forum and some posts clearly indicate that business objects are not supported in the JS library.
So here is my question: what is the best way to load an array of custom objects in a report with the JS library ? I need the final template to be compatible with the JS and the .NET Core libraries (that is, to be able to render the report on both the browser and the server).
Thanks in advance for your help.
I'm working on a report which needs to load some arbitrary data. I've prepared the report template with ASP.NET Core and configured several business objects that I load into the report when I want to view/render it.
However, when I tried to use this template with the JS library, nothing was working anymore (even though there is a regbusinessobject function on the report object). I've checked this forum and some posts clearly indicate that business objects are not supported in the JS library.
So here is my question: what is the best way to load an array of custom objects in a report with the JS library ? I need the final template to be compatible with the JS and the .NET Core libraries (that is, to be able to render the report on both the browser and the server).
Thanks in advance for your help.