Page 1 of 1

Stimulsoft Dynamic error

Posted: Mon Jan 13, 2025 7:44 pm
by G.hammad
Dears,

I'm trying to use stimulsoft angular & js packages to use stimulsoft viewer in my angular application with apply custom pagination on next & previous pagination in viewer but as first steps:
1.install "stimulsoft-reports-js": "^2025.1.2".
2. install "stimulsoft-viewer-angular" "^2025.1.2"

then create viewer component: with this code as in photos in attachments but after run my project i face error in browser console about
Dynamic require of "fs" is not supported at chunk-UXOSMXXC.js?v=24959df0:33:9
at I02.getLocalizationInfo (stimulsoft.reports.js:12:265851)
at I02.initialize (stimulsoft.reports.js:12:260297)
at node_modules/stimulsoft-reports-js/index.js (index.js:5:26)
at __require2 (chunk-UXOSMXXC.js?v=24959df0:48:50)
at index.js:7:18


do you have any suggestion to resolve this issue and make the application run again without any error.

Re: Stimulsoft Dynamic error

Posted: Mon Jan 13, 2025 8:22 pm
by Lech Kulikowski
Hello,

Please send us a sample project that reproduces the issue for analysis.

Thank you.

Re: Stimulsoft Dynamic error

Posted: Tue Jan 14, 2025 12:09 pm
by G.hammad
Dears,

Here You can find example of the error occurred in angular project v17 and stimulsoft v2025.1.2,
and here link for project example on google drive :
https://drive.google.com/file/d/1XCgWV2 ... sp=sharing

Thanks in advance.

Re: Stimulsoft Dynamic error

Posted: Wed Jan 15, 2025 3:08 pm
by G.hammad
Any help please?!

Re: Stimulsoft Dynamic error

Posted: Wed Jan 15, 2025 7:55 pm
by Lech Kulikowski
Hello,

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

Thank you.
#16490

Re: Stimulsoft Dynamic error

Posted: Sat Jan 18, 2025 1:13 pm
by G.hammad
Dears,

Any update?! Or there is another way to do pagination on server side nested of client side in angular?!

Re: Stimulsoft Dynamic error

Posted: Mon Jan 20, 2025 11:59 am
by Max Shamanov
Hello.​​

We are still working on the issue.
We will let you know when we get any result.

Thank you.

Re: Stimulsoft Dynamic error

Posted: Tue Jan 28, 2025 8:19 am
by Lech Kulikowski
Hello,

At the current moment, it is not possible.

We are working on the Angular component which will be available in the next major build 2025.2.1 in March.

Thank you.

Re: Stimulsoft Dynamic error

Posted: Mon Feb 10, 2025 3:29 pm
by Lech Kulikowski
Hello,

Also, please try to import scripts as follows:
import {Stimulsoft} from 'stimulsoft-dashboards-js/Scripts/stimulsoft.viewer'
import {Stimulsoft} from 'stimulsoft-dashboards-js/Scripts/stimulsoft.blockly.editor';
...

Thank you.