How to integrate visualize.js to Angular 12

Hi,

I am having some issues to embed a Jasper Report into an Angular 12 application.

I did not find any components that does that but get inspired by https://www.npmjs.com/package/angularjasper2

I have a component that do this:  <app-jr-report resource="/public/Samples/Reports/01._Geographic_Results_by_Segment_Report"></app-jr-report>

When the .report method is being called with the container, I am getting the following error:

vendor.js:30801 ERROR Error: Uncaught (in promise): RangeError: Maximum call stack size exceeded
RangeError: Maximum call stack size exceeded
    at e (chunk.2973.js:1:568047)

visualize.js is loaded properly and I am using the following server report version:

Product Version: 8.0.0

Build: 20211111_2025

There maybe a conflict with the visualize.js library and Angular 12 but this is very difficult to get an answer since we are just evaluating the product.

Can anyone have done that in the past and can provide some input?  

Any help will be appreciated, thank you.

 

Attachments: 
patrick.rioux's picture
Joined: Jun 1 2022 - 8:50am
Last seen: 1 year 4 months ago

0 Answers:

No answers yet
Feedback
randomness