Angular 2/ TypeScript / Wijmo 5/ SystemJS - import WjViewerModule problem

Posted by: feniksreborn on 20 September 2017, 7:53 am EST

  • Posted 20 September 2017, 7:53 am EST

    Hi,

    I am using Angular 2 with TypeScript 2.0.10 and systemjs.config.js in visual studio 2015.
    Also I use Wijmo 5.
    Everything is working just fine, but when I tried to import wijmo modul WjViewerModule, I get error in SystemJS.

    import { WjViewerModule } from 'wijmo/wijmo.angular2.viewer';

    also i register module @NgModule({
    imports: [
    WjInputModule,
    WjGridModule,
    WjGridFilterModule,
    WjNavModule,
    WjViewerModule
    ],
    declarations: [
    MenuComponent
    ],
    providers: [
    newService

    ]
    })
    export class MenuModule { }

    Any suggestion?

    Best regards,
    M
  • Replied 22 September 2017, 10:25 am EST

    Hi,
    Please make sure you are using Enterprise edition not core. Since viewer is a part of Enterprises edition.

    For your reference, please refer to the sample for the same.

    Thanks,
    Manish Kumar Gupta

    ReportViewer.zip
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels