Page 1 of 1

Stimulsoft.Viewer.StiViewerOptions is not a constructor

Posted: Thu Aug 13, 2020 9:55 am
by mrapi
Hi
After update from 2020.3.2 to 2020.4.1 I have that error in console:
stim.png
stim.png (18.43 KiB) Viewed 1875 times
in my Angular 10 code I use something like that:

Code: Select all

export class LrapComponent implements OnInit {
  options: any = new Stimulsoft.Viewer.StiViewerOptions();
  viewer: any = new Stimulsoft.Viewer.StiViewer(this.options, 'StiViewer', false);
...
reverting to 2020.3.2 works
I use stimulsoft.reports.pack.js and stimulsoft.viewer.pack.js

thanks

Re: Stimulsoft.Viewer.StiViewerOptions is not a constructor

Posted: Tue Aug 18, 2020 6:33 am
by Lech Kulikowski
Hello,

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

Thank you.

Re: Stimulsoft.Viewer.StiViewerOptions is not a constructor

Posted: Tue Aug 18, 2020 10:34 am
by mrapi
k.thanks

Re: Stimulsoft.Viewer.StiViewerOptions is not a constructor

Posted: Tue Aug 18, 2020 12:57 pm
by Lech Kulikowski
Hello,

Please check the modified file in the attachment.

Thank you.

Re: Stimulsoft.Viewer.StiViewerOptions is not a constructor

Posted: Tue Aug 18, 2020 2:23 pm
by mrapi
hi.seems to be working.thanks

Re: Stimulsoft.Viewer.StiViewerOptions is not a constructor

Posted: Tue Aug 18, 2020 6:30 pm
by Lech Kulikowski
Hello

We are always glad to help you!

Thank you.